summaryrefslogtreecommitdiff
path: root/scalalib/src
diff options
context:
space:
mode:
authordohrayme <960977+dohrayme@users.noreply.github.com>2018-12-15 02:34:31 +0000
committerLi Haoyi <haoyi.sg@gmail.com>2018-12-14 18:34:31 -0800
commitea36ea3da18d3720e124b60235e1153f6c31518c (patch)
tree7ac2a4826383dd5c6f378d9d9813648ac639c0cc /scalalib/src
parent9cbcfa9c1fb89efd0b4cdafdc4246ce027f74ebb (diff)
downloadmill-ea36ea3da18d3720e124b60235e1153f6c31518c.tar.gz
mill-ea36ea3da18d3720e124b60235e1153f6c31518c.tar.bz2
mill-ea36ea3da18d3720e124b60235e1153f6c31518c.zip
fix GenIdea to create required folders (#510)
Diffstat (limited to 'scalalib/src')
-rw-r--r--scalalib/src/GenIdeaImpl.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/GenIdeaImpl.scala b/scalalib/src/GenIdeaImpl.scala
index 2d76d804..548b8d4e 100644
--- a/scalalib/src/GenIdeaImpl.scala
+++ b/scalalib/src/GenIdeaImpl.scala
@@ -43,7 +43,7 @@ object GenIdeaImpl {
val evaluator = new Evaluator(ctx.home, os.pwd / 'out, os.pwd / 'out, rootModule, ctx.log)
for((relPath, xml) <- xmlFileLayout(evaluator, rootModule, jdkInfo)){
- os.write.over(os.pwd/relPath, pp.format(xml))
+ os.write.over(os.pwd/relPath, pp.format(xml), createFolders = true)
}
}