aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/project/Build.scala b/project/Build.scala
index b5b1df56a..0461b5886 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -90,6 +90,7 @@ object DottyBuild extends Build {
addCommandAlias("dotr", "dotty-compiler/dotr") ++
addCommandAlias("dotc", "dotty-compiler/dotc") ++
addCommandAlias("repl", "dotty-compiler/repl") ++
+ addCommandAlias("run", "dotty-compiler/run") ++
addCommandAlias("packageAll", "dotty-compiler/packageAll") ++
addCommandAlias(
"partest",
@@ -218,7 +219,7 @@ object DottyBuild extends Build {
s"""$java -classpath .:$dottyLib:$scalaLib ${args.mkString(" ")}""" !
}
},
- dotc := Def.inputTaskDyn {
+ run := Def.inputTaskDyn {
val dottyLib = packageAll.value("dotty-library")
val args: Seq[String] = spaceDelimited("<arg>").parsed
@@ -231,6 +232,7 @@ object DottyBuild extends Build {
s" dotty.tools.dotc.Main " + fullArgs.mkString(" ")
)
}.evaluated,
+ dotc := run.evaluated,
// enable verbose exception messages for JUnit
testOptions in Test += Tests.Argument(