-
Notifications
You must be signed in to change notification settings - Fork 49
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
More responsible skipping #163
More responsible skipping #163
Conversation
This reverts commit 9fbd743.
|
||
private[sbt] def mkCommand(commands: List[String]): String = commands.mkString("; ", "; ", "") | ||
|
||
private[sbt] def skipIfIrrelevant[T](task: TaskKey[T]) = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept this private, but IMO it's worth exposing. For example http4s could use this for the unusedCompileDependenciesTest
that was causing problems for the non-Scala 3 modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although, many tasks are not natively skip
pable (like test
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, seems worth exposing.
Fixes #140, this time for real.
Two changes:
skip := true
for a whole project. Instead set it task-by-task, for tasks where skipping is known to be "safe".