From 54546198dc0a449a7a3f0c6f34e65d06747f37bd Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 4 Feb 2018 04:42:51 -0800 Subject: Test fixes... --- integration/test/resources/ammonite/build.sc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'integration') diff --git a/integration/test/resources/ammonite/build.sc b/integration/test/resources/ammonite/build.sc index f8732a4c..4f67604b 100644 --- a/integration/test/resources/ammonite/build.sc +++ b/integration/test/resources/ammonite/build.sc @@ -56,11 +56,10 @@ object amm extends Cross[MainModule](fullCrossScalaVersions:_*){ ivy"org.scalaj::scalaj-http:2.3.0" ) - def generatedSources = T{ + def generatedSources = T.sources{ import ammonite.ops._ - mkdir(T.ctx().dest) cp(build.millSourcePath/'project/"Constants.scala", T.ctx().dest/"Constants.scala") - Seq(PathRef(T.ctx().dest)) + T.ctx().dest } } @@ -89,10 +88,10 @@ object amm extends Cross[MainModule](fullCrossScalaVersions:_*){ ) object test extends Tests{ - def resources = T.input { + def resources = T.sources { super.resources() ++ - ReplModule.this.sources() ++ - ReplModule.this.externalCompileDepSources() + ReplModule.this.sources() ++ + ReplModule.this.externalCompileDepSources() } } } -- cgit v1.2.3