diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-18 00:55:39 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-18 00:55:39 -0800 |
commit | b83546cacea1292af3d4ae8e8c349f529b201ed2 (patch) | |
tree | 6ece81a3a95dd2fe38ad02914b4937f1e3517c22 /test.sh | |
parent | a66bb3e3903e5996d0e99f26b23d5f65ab748289 (diff) | |
download | mill-b83546cacea1292af3d4ae8e8c349f529b201ed2.tar.gz mill-b83546cacea1292af3d4ae8e8c349f529b201ed2.tar.bz2 mill-b83546cacea1292af3d4ae8e8c349f529b201ed2.zip |
- Swap `Task.traverse` implementation to match behavior of other `traverse` implementations, added a `Task.sequence` that does what `traverse` used to do
- Added a `test.sh` script to easily kick off self-hosted unit test runs
- Tweak `ScalaModule` to fall back to the old behavior of including the transitive classpath during compilation
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test.sh b/test.sh new file mode 100755 index 00000000..ffae4a10 --- /dev/null +++ b/test.sh @@ -0,0 +1,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
\ No newline at end of file |