diff options
author | Tobias Roeser <le.petit.fou@web.de> | 2019-10-18 11:18:28 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2019-10-18 11:18:28 +0200 |
commit | c1ee2605a28368ef93e7aeebcb5256f17fca2685 (patch) | |
tree | 4e38eec443a98953171c80d239a9312f22f2e71a | |
parent | 5b90cc6a7fcaa4e0ad29c42cf9d9aa9efba33de7 (diff) | |
download | mill-c1ee2605a28368ef93e7aeebcb5256f17fca2685.tar.gz mill-c1ee2605a28368ef93e7aeebcb5256f17fca2685.tar.bz2 mill-c1ee2605a28368ef93e7aeebcb5256f17fca2685.zip |
GenIdea: be a bit more verbose
-rwxr-xr-x | scalalib/src/GenIdeaImpl.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scalalib/src/GenIdeaImpl.scala b/scalalib/src/GenIdeaImpl.scala index 25bfdbd0..5be21de6 100755 --- a/scalalib/src/GenIdeaImpl.scala +++ b/scalalib/src/GenIdeaImpl.scala @@ -51,7 +51,10 @@ case class GenIdeaImpl(evaluator: Evaluator, os.remove.all(cwd/".idea"/"scala_compiler.xml") os.remove.all(cwd/".idea_modules") - for((relPath, xml) <- xmlFileLayout(evaluator, rootModule, jdkInfo, Some(ctx))){ + ctx.log.info("Analyzing modules ...") + val layout = xmlFileLayout(evaluator, rootModule, jdkInfo, Some(ctx)) + ctx.log.info("Writing IDEA project files ...") + for((relPath, xml) <- layout) { os.write.over(cwd/relPath, pp.format(xml), createFolders = true) } } |