summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sc b/build.sc
index 5a08960b..ce02aa95 100755
--- a/build.sc
+++ b/build.sc
@@ -310,6 +310,12 @@ object contrib extends MillModule {
(for ((k, v) <- mapping) yield s"-D$k=$v")
}
+ // So we can test with buildinfo in the classpath
+ val test = new Tests(implicitly)
+ class Tests(ctx0: mill.define.Ctx) extends super.Tests(ctx0) {
+ override def moduleDeps = super.moduleDeps :+ contrib.buildinfo
+ }
+
object api extends MillApiModule {
def moduleDeps = Seq(scalalib)
}