Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make run command arguments Tasks #2452

Merged
merged 22 commits into from
May 1, 2023
Prev Previous commit
Next Next commit
.
  • Loading branch information
lihaoyi committed Apr 27, 2023
commit 1a8d93ea861b50513c28b307a1aa474d7d795541
2 changes: 1 addition & 1 deletion example/scalabuilds/3-override-tasks/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object foo extends ScalaModule {
}

def run(args: Task[Args] = T.task(Args())) = T.command {
println("Running..." + args.mkString(" "))
println("Running..." + args().value.mkString(" "))
super.run(args)
}
}
Expand Down