summaryrefslogtreecommitdiff
path: root/test.sh
blob: 01d1a4857cb6ebf64c4a725e405418cbd2209c0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

set -eux

# Starting from scratch...
git clean -xdf

# First build & run tests using SBT
sbt core/test scalalib/test scalajslib/test bin/test:assembly

# Build Mill using SBT
bin/target/mill devAssembly

# Second build & run tests using Mill
out/devAssembly/dest core.test
out/devAssembly/dest scalalib.test
out/devAssembly/dest scalajslib.test
out/devAssembly/dest devAssembly