diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-18 00:55:39 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-18 00:55:39 -0800 |
commit | b83546cacea1292af3d4ae8e8c349f529b201ed2 (patch) | |
tree | 6ece81a3a95dd2fe38ad02914b4937f1e3517c22 /build.sc | |
parent | a66bb3e3903e5996d0e99f26b23d5f65ab748289 (diff) | |
download | mill-b83546cacea1292af3d4ae8e8c349f529b201ed2.tar.gz mill-b83546cacea1292af3d4ae8e8c349f529b201ed2.tar.bz2 mill-b83546cacea1292af3d4ae8e8c349f529b201ed2.zip |
- Swap `Task.traverse` implementation to match behavior of other `traverse` implementations, added a `Task.sequence` that does what `traverse` used to do
- Added a `test.sh` script to easily kick off self-hosted unit test runs
- Tweak `ScalaModule` to fall back to the old behavior of including the transitive classpath during compilation
Diffstat (limited to 'build.sc')
-rwxr-xr-x | build.sc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,7 +106,7 @@ object ScalaPlugin extends MillModule { def projectDeps = Seq(Core) def basePath = pwd / 'scalaplugin - def bridgeCompiles = mill.define.Task.traverse(bridges.items.map(_._2.compile)) + def bridgeCompiles = mill.define.Task.traverse(bridges.items)(_._2.compile) def testArgs = T{ val bridgeVersions = bridges.items.map(_._1.head.toString) @@ -122,7 +122,7 @@ object ScalaPlugin extends MillModule { val assemblyProjects = Seq(ScalaPlugin) -def assemblyClasspath = mill.define.Task.traverse(assemblyProjects.map(_.assemblyClasspath)) +def assemblyClasspath = mill.define.Task.traverse(assemblyProjects)(_.assemblyClasspath) def assemblyBase(classpath: Seq[Path], extraArgs: String) (implicit ctx: mill.util.Ctx.DestCtx) = { |