Migrate actions/depends-on to fix it

Seems following the deprecation warning info and the website
documentation and avoiding the BuildCommon inputTask method avoids
whatever problem was causing it to fail... Strange.. but ok?
This commit is contained in:
Dale Wijnand
2017-01-13 14:26:54 +00:00
parent 011d0e8489
commit c6d3bbacfa
@@ -14,7 +14,7 @@ lazy val d = taskKey[Unit]("")
lazy val input = (project in file("input")).
settings(
f := (inputTask { _ map { args => if (args(0) == "succeed") () else sys.error("fail") } }).evaluated,
f := (if (Def.spaceDelimited().parsed.head == "succeed") () else sys.error("fail")),
j := sys.error("j"),
g := (f dependsOn(j)).evaluated,
h := (f map { _ => IO.touch(file("h")) }).evaluated