aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-10-31 13:07:05 +0100
committerodersky <odersky@gmail.com>2015-10-31 13:07:05 +0100
commit08e880231ff5facd55a80bed0391b22fe85a9f44 (patch)
treea4e3b355d784743300a89621cccf0fe79a0cd884 /test
parentc5fedba675ce958715d1ff35a78a3e71f9a55d97 (diff)
parent03bf4904c9abb50d97d3a7ae0dd70d0456a9f9fb (diff)
downloaddotty-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.scala2
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()