summaryrefslogtreecommitdiff
path: root/scratch/build.sc
diff options
context:
space:
mode:
Diffstat (limited to 'scratch/build.sc')
-rw-r--r--scratch/build.sc17
1 files changed, 14 insertions, 3 deletions
diff --git a/scratch/build.sc b/scratch/build.sc
index 9842039e..db446c99 100644
--- a/scratch/build.sc
+++ b/scratch/build.sc
@@ -1,4 +1,15 @@
-def thingy = T {
- val blob = (('0' to '9') ++ ('a' to 'z') ++ ('A' to 'Z')).mkString
- while(true) print(blob)
+import mill.Agg
+import mill.scalalib._
+
+trait JUnitTests extends TestModule{
+ def testFrameworks = Seq("com.novocode.junit.JUnitFramework")
+ def ivyDeps = Agg(ivy"com.novocode:junit-interface:0.11")
+}
+
+object core extends JavaModule{
+ object test extends Tests with JUnitTests
+}
+object app extends JavaModule{
+ def moduleDeps = Seq(core)
+ object test extends Tests with JUnitTests
} \ No newline at end of file