summaryrefslogtreecommitdiff
path: root/test.sh
blob: 13d816314706b3273683d9e380710d5a4dabcd6b (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 scalaplugin/test scalajsplugin/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 ScalaPlugin.test
out/devAssembly/dest ScalaJSPlugin.test
out/devAssembly/dest devAssembly