mirror of https://github.com/sbt/sbt.git
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:
parent
7d5dd9999d
commit
7ca327fc08
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue