summaryrefslogtreecommitdiff
path: root/test.sh
blob: ffae4a10330010815dbdf29b4d35288ad7651801 (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 run Core.test
bin/target/mill run ScalaPlugin.test
bin/target/mill run assembly

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