summaryrefslogtreecommitdiff
path: root/test.sh
blob: e4b78cbec66b46186b8bebbc3d0e25bdd934a446 (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 scalaplugin/test bin/test:assembly

# Second build & run tests using Mill built using SBT
bin/target/mill Core.test
bin/target/mill ScalaPlugin.test
bin/target/mill devAssembly

# Third build & run tests using Mill built using Mill
out/devAssembly Core.test
out/devAssembly ScalaPlugin.test
out/devAssembly devAssembly