summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh19
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