summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-09 23:42:36 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-09 23:42:36 -0800
commit9fe80b1f7e45e9cf6dc1f2a6586c4285e3e6103e (patch)
tree86bff40a55e2eba6afe142af0a5840084a16cc7e /build.sc
parent79ac10f8d8f093477e2f96e9624be40a1d894d53 (diff)
downloadmill-9fe80b1f7e45e9cf6dc1f2a6586c4285e3e6103e.tar.gz
mill-9fe80b1f7e45e9cf6dc1f2a6586c4285e3e6103e.tar.bz2
mill-9fe80b1f7e45e9cf6dc1f2a6586c4285e3e6103e.zip
- DRY up `Resolve.scala`
- Add a version of `Resolve` that resolves names only, but works on entrypoints/etc. without needing arguments - Fix tests to compile with new `multiSelect` parsing flag
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc5
1 files changed, 1 insertions, 4 deletions
diff --git a/build.sc b/build.sc
index 07eb543b..a80c308a 100755
--- a/build.sc
+++ b/build.sc
@@ -223,6 +223,7 @@ def gitHead = T.input{
%%('git, "rev-parse", "head")(pwd).out.string.trim()
)
}
+
def publishVersion = T.input{
val tag =
try Option(
@@ -255,7 +256,3 @@ def uploadToGithub(assembly: Path, authKey: String, release: String, label: Stri
upload.apply(assembly, release, label, authKey)
}
-
-//def resolve(targets: mill.define.TargetScopt.Targets[Any]) = mill.T.command{
-// targets.items.foreach(println)
-//} \ No newline at end of file