diff options
Diffstat (limited to 'test/dotc/build.scala')
-rw-r--r-- | test/dotc/build.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotc/build.scala b/test/dotc/build.scala index 9f47796c3..2963b8f1e 100644 --- a/test/dotc/build.scala +++ b/test/dotc/build.scala @@ -21,6 +21,8 @@ object build extends tests { def main(args: Array[String]): Unit = { println("------------ Building dotty ------------") deleteFilesInFolder(new File(defaultOutputDir)) // clear previous output + val keepFile = new File(defaultOutputDir + ".keep") + keepFile.createNewFile() dotty // build output dir val p = Runtime.getRuntime.exec(Array("jar", "cf", "dotty.jar", "-C", "out", ".")) p.waitFor() |