summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-01-27 23:49:51 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-01-27 23:51:57 -0800
commit02ebf026df6e08e9de8bef6dfec03d14ea46dfa1 (patch)
tree6bb2640889f5f60102e8800fb5fe4cc7cd062605 /core
parente2d0e4c9bf6a23e2d8e37eeef63e234e54efde26 (diff)
downloadmill-02ebf026df6e08e9de8bef6dfec03d14ea46dfa1.tar.gz
mill-02ebf026df6e08e9de8bef6dfec03d14ea46dfa1.tar.bz2
mill-02ebf026df6e08e9de8bef6dfec03d14ea46dfa1.zip
Make `idea` task work with releaseAssembly and publishLocal
Diffstat (limited to 'core')
-rw-r--r--core/test/src/mill/eval/JavaCompileJarTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/test/src/mill/eval/JavaCompileJarTests.scala b/core/test/src/mill/eval/JavaCompileJarTests.scala
index 961c4b1f..36bbe5cd 100644
--- a/core/test/src/mill/eval/JavaCompileJarTests.scala
+++ b/core/test/src/mill/eval/JavaCompileJarTests.scala
@@ -123,7 +123,7 @@ object JavaCompileJarTests extends TestSuite{
check(targets = Agg(allSources), expected = Agg(allSources))
check(targets = Agg(jar), expected = Agg(classFiles, jar))
- val jarContents = %%('jar, "-tf", workspacePath/'jar/'dest)(workspacePath).out.string
+ val jarContents = %%('jar, "-tf", workspacePath/'jar/'dest/"out.jar")(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/'dest, "test.Foo")(workspacePath).out.string
+ val executed = %%('java, "-cp", workspacePath/'jar/'dest/"out.jar", "test.Foo")(workspacePath).out.string
assert(executed == (31337 + 271828) + "\n")
for(i <- 0 until 3){