From 50a3f616caa54934fcd0eaf4f4aa5ed6635c42ae Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Wed, 17 Aug 2011 21:50:46 -0400 Subject: [PATCH] Test to ensure join on Seq[Initialize[Task[T]]] keeps highest precedence --- sbt/src/sbt-test/actions/join/project/Build.scala | 11 +++++++++++ sbt/src/sbt-test/actions/join/test | 1 + 2 files changed, 12 insertions(+) create mode 100644 sbt/src/sbt-test/actions/join/project/Build.scala create mode 100644 sbt/src/sbt-test/actions/join/test diff --git a/sbt/src/sbt-test/actions/join/project/Build.scala b/sbt/src/sbt-test/actions/join/project/Build.scala new file mode 100644 index 000000000..28835f3b3 --- /dev/null +++ b/sbt/src/sbt-test/actions/join/project/Build.scala @@ -0,0 +1,11 @@ +import sbt._ +import Keys._ + +object Build extends Build +{ + lazy val root = Project("root", file(".")) dependsOn(b,c) settings( + compile in Compile <<= Seq(b, c).map(p => compile in (p, Compile)).join.map( as => (inc.Analysis.Empty /: as)(_ ++ _) ) + ) + lazy val b = Project("b", file("b")) + lazy val c = Project("c", file("c")) +} \ No newline at end of file diff --git a/sbt/src/sbt-test/actions/join/test b/sbt/src/sbt-test/actions/join/test new file mode 100644 index 000000000..5df2af1f3 --- /dev/null +++ b/sbt/src/sbt-test/actions/join/test @@ -0,0 +1 @@ +> compile