From 0a7d68737e89ab9471c7177ecfdf706e06a7cad8 Mon Sep 17 00:00:00 2001 From: Nik Vanderhoof Date: Thu, 4 Jul 2019 02:56:56 -0400 Subject: Scoverage buildinfo support (#647) * Add test case for scoverage/buildinfo * Take generatedSources from outer + pass allSources to scoverage reports --- build.sc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build.sc') 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) } -- cgit v1.2.3