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 /scalajslib/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 'scalajslib/src')
-rw-r--r-- | scalajslib/src/mill/scalajslib/ScalaJSBridge.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalajslib/src/mill/scalajslib/ScalaJSBridge.scala b/scalajslib/src/mill/scalajslib/ScalaJSBridge.scala index 10dd42d6..6b471164 100644 --- a/scalajslib/src/mill/scalajslib/ScalaJSBridge.scala +++ b/scalajslib/src/mill/scalajslib/ScalaJSBridge.scala @@ -66,7 +66,7 @@ trait ScalaJSBridge { } -object ScalaJSBridge extends mill.define.BaseModule(ammonite.ops.pwd) { +object ScalaJSBridge extends mill.define.ExternalModule { def scalaJSBridge = T.worker { new ScalaJSWorker() } } |