sbt-scapegoat
sbt-scapegoat copied to clipboard
Fixes for force-clean bug.
Fixes: https://github.com/sksamuel/sbt-scapegoat/issues/89
scapegoatCleanTask renamed to scapegoatOptionalClean, Scapegoat task now uses scapegoatOptionalClean.
Hi. I don't understand what the change does?
Hello! In the master branch scapegoat task depends on scapegoatClean task, which doesn't use scapeGoatRunAlways setting. This setting is supposed to disable clean on every launch on scapegoat task. So I changed the dependency of scapegoat task to scapegoatCleanTask and renamed the latter to scapegoatOptionalClean to make the difference between it and scapegoatClean more clear.