summaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2017-12-29 23:39:23 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2017-12-29 23:39:23 -0800
commit476640d8b78a2d1bc902fcdd15fcef996b73ca2c (patch)
tree41265b2e9e53bf72576e0ac9a0198c40325d907f /core/src/test
parent3ce3d6214b1c52c692926ab373412b71fe097c21 (diff)
downloadmill-476640d8b78a2d1bc902fcdd15fcef996b73ca2c.tar.gz
mill-476640d8b78a2d1bc902fcdd15fcef996b73ca2c.tar.bz2
mill-476640d8b78a2d1bc902fcdd15fcef996b73ca2c.zip
Re-organize `out/` directory to keep all files related to a particular `Target` within a single folder
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/scala/mill/eval/JavaCompileJarTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/scala/mill/eval/JavaCompileJarTests.scala b/core/src/test/scala/mill/eval/JavaCompileJarTests.scala
index 2b5bcb58..ba74dea3 100644
--- a/core/src/test/scala/mill/eval/JavaCompileJarTests.scala
+++ b/core/src/test/scala/mill/eval/JavaCompileJarTests.scala
@@ -123,7 +123,7 @@ object JavaCompileJarTests extends TestSuite{
check(targets = OSet(allSources), expected = OSet(allSources))
check(targets = OSet(jar), expected = OSet(classFiles, jar))
- val jarContents = %%('jar, "-tf", workspacePath/'jar)(workspacePath).out.string
+ val jarContents = %%('jar, "-tf", workspacePath/'jar/'dest)(workspacePath).out.string
val expectedJarContents =
"""META-INF/MANIFEST.MF
|hello.txt
@@ -135,7 +135,7 @@ object JavaCompileJarTests extends TestSuite{
|""".stripMargin
assert(jarContents == expectedJarContents)
- val executed = %%('java, "-cp", workspacePath/'jar, "test.Foo")(workspacePath).out.string
+ val executed = %%('java, "-cp", workspacePath/'jar/'dest, "test.Foo")(workspacePath).out.string
assert(executed == (31337 + 271828) + "\n")
for(i <- 0 until 3){