diff options
author | odersky <odersky@gmail.com> | 2015-10-31 13:07:05 +0100 |
---|---|---|
committer | odersky <odersky@gmail.com> | 2015-10-31 13:07:05 +0100 |
commit | 08e880231ff5facd55a80bed0391b22fe85a9f44 (patch) | |
tree | a4e3b355d784743300a89621cccf0fe79a0cd884 /test | |
parent | c5fedba675ce958715d1ff35a78a3e71f9a55d97 (diff) | |
parent | 03bf4904c9abb50d97d3a7ae0dd70d0456a9f9fb (diff) | |
download | dotty-08e880231ff5facd55a80bed0391b22fe85a9f44.tar.gz dotty-08e880231ff5facd55a80bed0391b22fe85a9f44.tar.bz2 dotty-08e880231ff5facd55a80bed0391b22fe85a9f44.zip |
Merge pull request #896 from dotty-staging/gitignore
Fix #895: Maintain keep file during bootstrap
Diffstat (limited to 'test')
-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() |