summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2017-12-29 22:47:15 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2017-12-29 22:47:15 -0800
commit3ce3d6214b1c52c692926ab373412b71fe097c21 (patch)
treeb8aee0d02ea98833ff5062c564632911cd464911 /build.sc
parent81d4cfb6f63512b314fbbf49c4ba415aedc469d7 (diff)
downloadmill-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-xbuild.sc5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sc b/build.sc
index a9e63b43..4bfb8745 100755
--- a/build.sc
+++ b/build.sc
@@ -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)