-
Notifications
You must be signed in to change notification settings - Fork 34
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
How do I make sbt scapegoat
not run scapegoatClean
?
#39
Comments
Yes it does clean on each run. That was part of the design so you get a full picture. I guess the devils advocate argument against your question is that if you only evaluate incrementally, it will lose the previous "errors" |
Cleaning by default on each run is fine. I just want to be able to configure it to not clean on each run. If the impotency of |
It can be changed to support what you want. On 10 March 2016 at 00:07, Gordon Gustafson [email protected]
|
Related: #31 |
Currently when I run
sbt scapegoat
it recompiles and reanalyzes my entire project. I want it to only analyze what was already going to be recompiled. I addedscapegoatRunAlways := false
to mybuild.sbt
because it's documented as doing exactly what I want. It had no effect, and looking at the source for this project I see that it only affects the behavior ofscapegoatCleanTask
, which can only be invoked manually.I found this in the source:
Since
scapegoat
depends onscapegoatClean
, what I want seems to be impossible. The top line were changed to usescapegoatCleanTask
(which respectsscapegoatRunAlways
) instead ofscapegoatClean
, all would be well.The text was updated successfully, but these errors were encountered: