summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc11
1 files changed, 4 insertions, 7 deletions
diff --git a/build.sc b/build.sc
index 234f24a9..de31a5de 100755
--- a/build.sc
+++ b/build.sc
@@ -58,22 +58,19 @@ object core extends MillModule {
Dep.Java("org.scala-sbt", "test-interface", "1.0")
)
- def generatedCoreSources = T{
+ def generatedSources = T {
mkdir(T.ctx().dest)
shared.generateCoreSources(T.ctx().dest)
- PathRef(T.ctx().dest)
+ Seq(PathRef(T.ctx().dest))
}
- def generatedSources = T { super.generatedSources() ++ Seq(generatedCoreSources()) }
-
val test = new Tests(implicitly)
class Tests(ctx0: mill.Module.Ctx) extends super.Tests(ctx0){
- def generatedCoreTestSources = T{
+ def generatedSources = T {
mkdir(T.ctx().dest)
shared.generateCoreTestSources(T.ctx().dest)
- PathRef(T.ctx().dest)
+ Seq(PathRef(T.ctx().dest))
}
- def generatedSources = T { super.generatedSources() ++ Seq(generatedCoreTestSources()) }
}
}