diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-29 22:47:15 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-29 22:47:15 -0800 |
commit | 3ce3d6214b1c52c692926ab373412b71fe097c21 (patch) | |
tree | b8aee0d02ea98833ff5062c564632911cd464911 /build.sc | |
parent | 81d4cfb6f63512b314fbbf49c4ba415aedc469d7 (diff) | |
download | mill-3ce3d6214b1c52c692926ab373412b71fe097c21.tar.gz mill-3ce3d6214b1c52c692926ab373412b71fe097c21.tar.bz2 mill-3ce3d6214b1c52c692926ab373412b71fe097c21.zip |
Assign different overrides of a Target different cache directories and paths, to fix https://github.com/lihaoyi/mill/issues/86
Diffstat (limited to 'build.sc')
-rwxr-xr-x | build.sc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -65,7 +65,7 @@ object Core extends MillModule { def ivyDeps = Seq( Dep("com.lihaoyi", "sourcecode", "0.1.4"), Dep("com.lihaoyi", "pprint", "0.5.3"), - Dep.Point("com.lihaoyi", "ammonite", "1.0.3-20-75e58ac"), + Dep.Point("com.lihaoyi", "ammonite", "1.0.3-21-05b5d32"), Dep("com.typesafe.play", "play-json", "2.6.6"), Dep("org.scala-sbt", "zinc", "1.0.5"), Dep.Java("org.scala-sbt", "test-interface", "1.0") @@ -80,7 +80,8 @@ object Core extends MillModule { } def allSources = super.allSources() ++ Seq(generatedSources()) - val test = new Tests{ + val test = new Tests + class Tests extends super.Tests{ def generatedSources = T{ mkdir(T.ctx().dest) shared.generateTests(T.ctx().dest) |