Get a checksum of a list of files, suitable for using as
shakeVersion. This will trigger a rebuild when the Shake rules
defined in any of the files are changed. For example:
main = do
ver <- getHashedShakeVersion ["Shakefile.hs"]
shakeArgs shakeOptions{shakeVersion = ver} ...
To automatically detect the name of the current file, turn on the
TemplateHaskell extension and write
$(LitE . StringL .
loc_filename <$> location).
This feature can be turned off during development by passing the flag
--no-rule-version or setting
shakeVersionIgnore to
True.