diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-27 22:49:18 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-27 22:49:18 -0800 |
commit | ff319e9314dac149d361daea87c89b2b9d7ebb08 (patch) | |
tree | e176eefee629ea8edfcfb4f3d848c4809c2716b6 /core/src | |
parent | e754ec7d9eafdf13f9a34248295e19d309c7eba4 (diff) | |
download | mill-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/src')
-rw-r--r-- | core/src/mill/modules/Jvm.scala | 4 |
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) { |