diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-02 23:36:35 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-02 23:36:35 -0800 |
commit | 4c76e9668ab9683dad1966bcd6fb5031a81f8460 (patch) | |
tree | 333a31b9f5dc247f94ea7011b108502a0fb1bdf1 /core/src/mill/modules/Jvm.scala | |
parent | 932bc5c53bb380930e04765ae51c5a128f3b35fb (diff) | |
download | mill-4c76e9668ab9683dad1966bcd6fb5031a81f8460.tar.gz mill-4c76e9668ab9683dad1966bcd6fb5031a81f8460.tar.bz2 mill-4c76e9668ab9683dad1966bcd6fb5031a81f8460.zip |
- Renamed `Ctx.FooCtx` => `Ctx.Foo`
- Remove un-used `Evaluator#millSourcePath` parameter
Diffstat (limited to 'core/src/mill/modules/Jvm.scala')
-rw-r--r-- | core/src/mill/modules/Jvm.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/mill/modules/Jvm.scala b/core/src/mill/modules/Jvm.scala index a22f0c77..4ac03a97 100644 --- a/core/src/mill/modules/Jvm.scala +++ b/core/src/mill/modules/Jvm.scala @@ -10,7 +10,7 @@ import ammonite.ops._ import mill.define.Task import mill.eval.PathRef import mill.util.{Ctx, Loose} -import mill.util.Ctx.LogCtx +import mill.util.Ctx.Log import mill.util.Loose.Agg import upickle.default.{Reader, Writer} @@ -161,7 +161,7 @@ object Jvm { } def createJar(inputPaths: Agg[Path], mainClass: Option[String] = None) - (implicit ctx: Ctx.DestCtx): PathRef = { + (implicit ctx: Ctx.Dest): PathRef = { val outputPath = ctx.dest / "out.jar" rm(outputPath) @@ -198,7 +198,7 @@ object Jvm { def createAssembly(inputPaths: Agg[Path], mainClass: Option[String] = None, prependShellScript: String = "") - (implicit ctx: Ctx.DestCtx): PathRef = { + (implicit ctx: Ctx.Dest): PathRef = { val outputPath = ctx.dest / "out.jar" rm(outputPath) |