summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc15
1 files changed, 14 insertions, 1 deletions
diff --git a/build.sc b/build.sc
index 679b8472..110086c0 100755
--- a/build.sc
+++ b/build.sc
@@ -212,8 +212,21 @@ def devAssembly = T{
)
}
+def dev(args: String*) = T.command{
+ mill.modules.Jvm.interactiveSubprocess(
+ "mill.Main",
+ Agg.from(assemblyClasspath().flatten.map(_.path)),
+ jvmArgs = scalalib.testArgs() ++ scalajslib.testArgs() ++ scalaworker.testArgs(),
+ mainArgs = args,
+ workingDir = pwd
+ )
+}
+
def releaseAssembly = T{
- assemblyBase(Agg.from(assemblyClasspath().flatten.map(_.path)), "-DMILL_VERSION=" + publishVersion()._2)
+ assemblyBase(
+ Agg.from(assemblyClasspath().flatten.map(_.path)),
+ "-DMILL_VERSION=" + publishVersion()._2
+ )
}
val isMasterCommit = {