summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-01-27 22:49:18 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-01-27 22:49:18 -0800
commitff319e9314dac149d361daea87c89b2b9d7ebb08 (patch)
treee176eefee629ea8edfcfb4f3d848c4809c2716b6 /core
parente754ec7d9eafdf13f9a34248295e19d309c7eba4 (diff)
downloadmill-ff319e9314dac149d361daea87c89b2b9d7ebb08.tar.gz
mill-ff319e9314dac149d361daea87c89b2b9d7ebb08.tar.bz2
mill-ff319e9314dac149d361daea87c89b2b9d7ebb08.zip
Make `idea` task configure the root module to have IntelliJ properly handle the `build.sc` file
Diffstat (limited to 'core')
-rw-r--r--core/src/mill/modules/Jvm.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/mill/modules/Jvm.scala b/core/src/mill/modules/Jvm.scala
index d9abff86..fc1a1665 100644
--- a/core/src/mill/modules/Jvm.scala
+++ b/core/src/mill/modules/Jvm.scala
@@ -162,7 +162,7 @@ object Jvm {
def createJar(inputPaths: Agg[Path], mainClass: Option[String] = None)
(implicit ctx: Ctx.DestCtx): PathRef = {
- val outputPath = ctx.dest
+ val outputPath = ctx.dest / "out.jar"
rm(outputPath)
mkdir(outputPath/up)
@@ -200,7 +200,7 @@ object Jvm {
mainClass: Option[String] = None,
prependShellScript: String = "")
(implicit ctx: Ctx.DestCtx): PathRef = {
- val outputPath = ctx.dest
+ val outputPath = ctx.dest / "out.jar"
rm(outputPath)
if(inputPaths.nonEmpty) {