Leiningen Cache Resource
A Concourse.ci resource for caching Leiningen dependencies.
The approach and code is based on gradle-cache-resource.
The resource uses the git-resource internally, so any of
the git-resource parameters can be used. It is advisable to use the
paths parameter to only listen
to changes of the
project.clj of the Leiningen project.
check: Check for git repo changes
Simply forwards the control to the
check script of the git-resource to check for any changes in
the source repository.
It is advisable to track changes to the
project.clj only, since that describes the project dependencies.
in: Cache dependencies
The source repository is first cloned using the git-resource and then dependencies are cached
If you have multiple build profiles, you can use a (Composite Profile)[https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#composite-profiles] to include all their deps. The composite profile should be called