summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorrockjam <5min4eq.unity@gmail.com>2017-12-01 23:27:18 +0300
committerrockjam <5min4eq.unity@gmail.com>2017-12-07 20:57:19 +0300
commit24f60cc893f0ca8e37992a2cf48bad20c923a2d8 (patch)
tree978d776180b8a3364c44b84b7dc094f54393e466 /build.sc
parent87a3aadaa9176941b43475f7468dc75ce682f651 (diff)
downloadmill-24f60cc893f0ca8e37992a2cf48bad20c923a2d8.tar.gz
mill-24f60cc893f0ca8e37992a2cf48bad20c923a2d8.tar.bz2
mill-24f60cc893f0ca8e37992a2cf48bad20c923a2d8.zip
pass compile analysis of projectDeps to zinc, fixes #29
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc13
1 files changed, 5 insertions, 8 deletions
diff --git a/build.sc b/build.sc
index 5d581364..f58c160e 100755
--- a/build.sc
+++ b/build.sc
@@ -82,16 +82,13 @@ object ScalaPlugin extends MillModule {
override def projectDeps = Seq(Core)
def basePath = pwd / 'scalaplugin
- override def compile = T.persistent[mill.eval.PathRef]{
- super.compile()
- }
override def testArgs = T{
val mapping = Map(
- "MILL_COMPILER_BRIDGE_2_10_6" -> bridges("2.10.6").compile().path,
- "MILL_COMPILER_BRIDGE_2_11_8" -> bridges("2.11.8").compile().path,
- "MILL_COMPILER_BRIDGE_2_11_11" -> bridges("2.11.11").compile().path,
- "MILL_COMPILER_BRIDGE_2_12_3" -> bridges("2.12.3").compile().path,
- "MILL_COMPILER_BRIDGE_2_12_4" -> bridges("2.12.4").compile().path,
+ "MILL_COMPILER_BRIDGE_2_10_6" -> bridges("2.10.6").compile().classes.path,
+ "MILL_COMPILER_BRIDGE_2_11_8" -> bridges("2.11.8").compile().classes.path,
+ "MILL_COMPILER_BRIDGE_2_11_11" -> bridges("2.11.11").compile().classes.path,
+ "MILL_COMPILER_BRIDGE_2_12_3" -> bridges("2.12.3").compile().classes.path,
+ "MILL_COMPILER_BRIDGE_2_12_4" -> bridges("2.12.4").compile().classes.path,
)
for((k, v) <- mapping.toSeq) yield s"-D$k=$v"
}