diff --git a/sbt/src/sbt-test/actions/task-map/build.sbt b/sbt/src/sbt-test/actions/task-map/build.sbt index 34c26b3b9..57a7dcc3a 100644 --- a/sbt/src/sbt-test/actions/task-map/build.sbt +++ b/sbt/src/sbt-test/actions/task-map/build.sbt @@ -1,38 +1,26 @@ val taskA = taskKey[File]("") val taskB = taskKey[File]("") -val taskC = taskKey[File]("") -val taskD = taskKey[File]("") val taskE = taskKey[File]("") val taskF = taskKey[File]("") -val taskG = taskKey[File]("") -val taskH = taskKey[File]("") taskA := touch(target.value / "a") taskB := touch(target.value / "b") -taskC := touch(target.value / "c") -taskD := touch(target.value / "d") taskE := touch(target.value / "e") taskF := touch(target.value / "f") -taskG := touch(target.value / "g") -taskH := touch(target.value / "h") // a <<= a triggeredBy b // means "a" will be triggered by "b" // said differently, invoking "b" will run "b" and then run "a" -taskA <<= taskA triggeredBy taskB -taskC := (taskC triggeredBy taskD).value +taskA := (taskA triggeredBy taskB).value // e <<= e runBefore f // means "e" will be run before running "f" // said differently, invoking "f" will run "e" and then run "f" -taskE <<= taskE runBefore taskF -taskG := (taskG runBefore taskH).value - - +taskE := (taskE runBefore taskF).value // test utils def touch(f: File): File = { IO touch f; f } diff --git a/sbt/src/sbt-test/actions/task-map/test b/sbt/src/sbt-test/actions/task-map/test index 0617f3abe..3a88d40a7 100644 --- a/sbt/src/sbt-test/actions/task-map/test +++ b/sbt/src/sbt-test/actions/task-map/test @@ -2,14 +2,6 @@ $ exists target/b $ exists target/a -> taskD -$ exists target/d -$ exists target/c - > taskF $ exists target/e $ exists target/f - -> taskH -$ exists target/g -$ exists target/h