summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorMinghao Liu <molikto@gmail.com>2018-01-12 14:43:53 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-01-11 22:43:53 -0800
commite8f53585e555cec800063cddc763a2837f4c5260 (patch)
treed52052274fc63f8e8dfdeddb67baaea2959ba2cd /build.sbt
parentf084c2059f1c21c3ac7726f4d06881d6fba7d341 (diff)
downloadmill-e8f53585e555cec800063cddc763a2837f4c5260.tar.gz
mill-e8f53585e555cec800063cddc763a2837f4c5260.tar.bz2
mill-e8f53585e555cec800063cddc763a2837f4c5260.zip
Add generated sources target (#109)
* add generated source * naming * multiple content root * no message * fix output classes path
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sbt b/build.sbt
index 856972dd..bd4c0bb7 100644
--- a/build.sbt
+++ b/build.sbt
@@ -96,13 +96,13 @@ lazy val core = project
"org.scala-sbt" % "test-interface" % "1.0"
),
sourceGenerators in Compile += {
- ammoniteRun(sourceManaged in Compile, List("shared.sc", "generateSources", _))
+ ammoniteRun(sourceManaged in Compile, List("shared.sc", "generateCoreSources", _))
.taskValue
.map(x => (x ** "*.scala").get)
},
sourceGenerators in Test += {
- ammoniteRun(sourceManaged in Test, List("shared.sc", "generateTests", _))
+ ammoniteRun(sourceManaged in Test, List("shared.sc", "generateCoreTestSources", _))
.taskValue
.map(x => (x ** "*.scala").get)
}