aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-01-11 00:57:59 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-01-27 14:24:11 +0100
commitadc370df8a584096467ba567c0b75d7cec36fd81 (patch)
tree1d69c463e161fa0528c1bf27b7fbb4b4c00a723f /project
parentc3f20b61b90db0556272931cb661ef56e92b68d3 (diff)
downloaddotty-adc370df8a584096467ba567c0b75d7cec36fd81.tar.gz
dotty-adc370df8a584096467ba567c0b75d7cec36fd81.tar.bz2
dotty-adc370df8a584096467ba567c0b75d7cec36fd81.zip
Use new sbt-based bootstrap for partest too
`partest` and `partest-only` are now run through `dotty-compiler-bootstrapped`. The old bootstrapping mechanism is deleted since it has been unmaintained and broken for several months and that I do not wish to maintain two bootstrapping mechanisms.
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala19
1 files changed, 8 insertions, 11 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 4c8854267..a24fc5371 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -119,23 +119,20 @@ object DottyBuild extends Build {
addCommandAlias("run", "dotty-compiler/run") ++
addCommandAlias(
"partest",
- ";packageAll" +
- ";dotty-compiler/test:runMain dotc.build" +
- ";dotty-compiler/lockPartestFile" +
- ";dotty-compiler/test:test" +
- ";dotty-compiler/runPartestRunner"
+ ";publishLocal" + // Non-bootstrapped dotty needs to be published first
+ ";dotty-compiler-bootstrapped/lockPartestFile" +
+ ";dotty-compiler-bootstrapped/test:test" +
+ ";dotty-compiler-bootstrapped/runPartestRunner"
) ++
addCommandAlias(
"partest-only",
- ";packageAll" +
- ";dotty-compiler/test:runMain dotc.build" +
- ";dotty-compiler/lockPartestFile" +
- ";dotty-compiler/test:test-only dotc.tests" +
- ";dotty-compiler/runPartestRunner"
+ ";publishLocal" + // Non-bootstrapped dotty needs to be published first
+ ";dotty-compiler-bootstrapped/lockPartestFile" +
+ ";dotty-compiler-bootstrapped/test:test-only dotc.tests" +
+ ";dotty-compiler-bootstrapped/runPartestRunner"
) ++
addCommandAlias(
"partest-only-no-bootstrap",
- ";packageAll" +
";dotty-compiler/lockPartestFile" +
";dotty-compiler/test:test-only dotc.tests" +
";dotty-compiler/runPartestRunner"