mirror of
https://github.com/sbt/sbt.git
synced 2026-10-07 10:33:30 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user