Shake has shakeVersion :: String
:
Defaults to 1. The version number of your build rules. Change the version number to force a complete rebuild, such as when making significant changes to the rules that require a wipe. The version number should be set in the source code, and not passed on the command line.
It is incredibly easy to improve the build system a bit and not notice that they were significant changes that require a wipe. If you distribute those via version control, it can lead to incorrect builds of my co-workers and in my Continuous Integration bot.
While I fix my own build by removing .shake.database
, communicating this to a whole company is not fun.
How can I deal with this automatically?