summaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-04 04:42:51 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-04 04:42:51 -0800
commit54546198dc0a449a7a3f0c6f34e65d06747f37bd (patch)
treefbe7fbd05cfc2ada6c2bacae9a0d55bee9a0f6e0 /integration
parent2b88c8275cfb0a5917103efdcde1166077f96649 (diff)
downloadmill-54546198dc0a449a7a3f0c6f34e65d06747f37bd.tar.gz
mill-54546198dc0a449a7a3f0c6f34e65d06747f37bd.tar.bz2
mill-54546198dc0a449a7a3f0c6f34e65d06747f37bd.zip
Test fixes...
Diffstat (limited to 'integration')
-rw-r--r--integration/test/resources/ammonite/build.sc11
1 files changed, 5 insertions, 6 deletions
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()
}
}
}