summaryrefslogtreecommitdiff
path: root/test.sh
blob: c49bf082e79ebaca2d16ebc3cfeb65868c2b73bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 integration/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 integration.test
out/devAssembly/dest devAssembly