aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-19 23:31:45 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:08 +0100
commit90d7f97a836ef57f51d274dbc0f0c66657a913ae (patch)
tree7092b3e8c021b1dea2957f4cb048ce6033354e7f /project
parent07923f1c6269ffc459f101dd1ac06cfaefd5c86c (diff)
downloaddotty-90d7f97a836ef57f51d274dbc0f0c66657a913ae.tar.gz
dotty-90d7f97a836ef57f51d274dbc0f0c66657a913ae.tar.bz2
dotty-90d7f97a836ef57f51d274dbc0f0c66657a913ae.zip
Replace dotc task by run, make dotc an alias of run
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(