blob: e6f53f9acd8061ee86e586002ed4097154248be5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
set -eux
# Starting from scratch...
git clean -xdf
# First build using SBT
sbt bin/test:assembly
# Build Mill using SBT
target/bin/mill all __.publishLocal releaseAssembly
mv out/releaseAssembly/dest/out.jar ~/mill-release
git clean -xdf
# Second build & run tests using Mill
~/mill-release all {main,scalalib,scalajslib}.test
~/mill-release integration.test mill.integration.AmmoniteTests
~/mill-release integration.test "mill.integration.{AcyclicTests,BetterFilesTests,JawnTests,UpickleTests}"
~/mill-release devAssembly
|