amperity / lein-monolith

Leiningen plugin for working with monorepos.
Other
214 stars 18 forks source link

Include more attributes in fingerprints #50

Closed greglook closed 5 years ago

greglook commented 5 years ago

Some things can affect the artifact produced by a project without changing the project's fingerprint. The obvious one we weren't accounting for is the project version, but there are other things which might do this too that we can't forsee. To allow the user a way to cache-bust explicitly, the fingerprint also includes the :monolith/fingerprint-seed from the project definition if set. This way a simple increment can force a rebuild without having to affect other aspects of the build.