diff options
author | Minghao Liu <molikto@gmail.com> | 2018-01-12 14:43:53 +0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-11 22:43:53 -0800 |
commit | e8f53585e555cec800063cddc763a2837f4c5260 (patch) | |
tree | d52052274fc63f8e8dfdeddb67baaea2959ba2cd /build.sbt | |
parent | f084c2059f1c21c3ac7726f4d06881d6fba7d341 (diff) | |
download | mill-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.sbt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } |