diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-02 10:23:12 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-02 10:23:12 -0800 |
commit | 4d79af93f907264a16abe3661ea417a268b0ef67 (patch) | |
tree | 54d2cfd7e7ba63121eb2f733733876249fe3838f /scalalib/src | |
parent | f1153f8fff92be3711fd238cd2c7c06ac2a7a5bc (diff) | |
download | mill-4d79af93f907264a16abe3661ea417a268b0ef67.tar.gz mill-4d79af93f907264a16abe3661ea417a268b0ef67.tar.bz2 mill-4d79af93f907264a16abe3661ea417a268b0ef67.zip |
Move `ScalaWorkerApi`/`ScalaJSBridge` over to new `ExternalModule` class
Also add a simple unit to validate that you can use `ExternalModule`s as part of a build, and that the
Diffstat (limited to 'scalalib/src')
-rw-r--r-- | scalalib/src/mill/scalalib/ScalaWorkerApi.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/mill/scalalib/ScalaWorkerApi.scala b/scalalib/src/mill/scalalib/ScalaWorkerApi.scala index 21ba45e1..7db48a41 100644 --- a/scalalib/src/mill/scalalib/ScalaWorkerApi.scala +++ b/scalalib/src/mill/scalalib/ScalaWorkerApi.scala @@ -14,7 +14,7 @@ import mill.eval.PathRef import mill.scalalib.Lib.resolveDependencies import mill.util.Loose import mill.util.JsonFormatters._ -object ScalaWorkerApi extends mill.define.BaseModule(ammonite.ops.pwd){ +object ScalaWorkerApi extends mill.define.ExternalModule { def scalaWorkerClasspath = T{ val scalaWorkerJar = sys.props("MILL_SCALA_WORKER") if (scalaWorkerJar != null) Loose.Agg.from(scalaWorkerJar.split(',').map(Path(_))) |