summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2017-12-18 00:55:39 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2017-12-18 00:55:39 -0800
commitb83546cacea1292af3d4ae8e8c349f529b201ed2 (patch)
tree6ece81a3a95dd2fe38ad02914b4937f1e3517c22 /build.sc
parenta66bb3e3903e5996d0e99f26b23d5f65ab748289 (diff)
downloadmill-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-xbuild.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sc b/build.sc
index fb1b2d2d..24509943 100755
--- a/build.sc
+++ b/build.sc
@@ -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) = {