summaryrefslogtreecommitdiff
path: root/scalalib/test/src
diff options
context:
space:
mode:
authorAndrew Richards <richards.aj@gmail.com>2018-02-22 04:15:42 +0000
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-21 20:15:42 -0800
commit107ba88754673e08b030b9ba1c8f4e6f1eefd13d (patch)
tree7ad9ebe2131309d99572108e033a3fc3db527b25 /scalalib/test/src
parenta286ec2473e09ea53bb9e811511378c56ed7e5c4 (diff)
downloadmill-107ba88754673e08b030b9ba1c8f4e6f1eefd13d.tar.gz
mill-107ba88754673e08b030b9ba1c8f4e6f1eefd13d.tar.bz2
mill-107ba88754673e08b030b9ba1c8f4e6f1eefd13d.zip
GenIdea updates including a fix for #147 (#149)
* extract JDK version so you don't have to keep resetting it * give modules a base path looks much nicer in IntelliJ - the module is now in bold * exclude sbt target directories stops sbt artifacts appearing in search * Fix #147 - add IntelliJ scala library * exclude root sbt project and target folders from IJ search * only resort to full long path names for jars if the name is a duplicate duplicates are hard to find unless you are pulling the same thing from different repos (therefore different path) * update GenIdea tests * tidy GenIdea
Diffstat (limited to 'scalalib/test/src')
-rw-r--r--scalalib/test/src/mill/scalalib/GenIdeaTests.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/scalalib/test/src/mill/scalalib/GenIdeaTests.scala b/scalalib/test/src/mill/scalalib/GenIdeaTests.scala
index a6700824..0ce9533f 100644
--- a/scalalib/test/src/mill/scalalib/GenIdeaTests.scala
+++ b/scalalib/test/src/mill/scalalib/GenIdeaTests.scala
@@ -23,7 +23,10 @@ object GenIdeaTests extends TestSuite {
'genIdeaTests - {
val pp = new scala.xml.PrettyPrinter(999, 4)
- val layout = GenIdea.xmlFileLayout(helloWorldEvaluator.evaluator, HelloWorld, fetchMillModules = false)
+ val layout = GenIdea.xmlFileLayout(
+ helloWorldEvaluator.evaluator,
+ HelloWorld,
+ ("JDK_1_8", "1.8 (1)"), fetchMillModules = false)
for((relPath, xml) <- layout){
write.over(millSourcePath/ "generated"/ relPath, pp.format(xml))
}