You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Fixes#485.
This speeds up builds that use the [Clojure CLI][clojure-cli] by
avoiding network calls to download dependencies.
When a repo has a `deps.edn` file, we assume it is a Clojure repo. We
cache its dependencies by caching the following files:
* `.m2` As a JVM language, most Clojure dependencies are stored in the
global `.m2` directory.
* `.gitlibs` The Clojure CLI can also download dependencies directly
from git repositories rather than from a package manager. It caches
these downloads in the `.gitlibs` directory.
* `.cpcache` Clojure uses the `.cpcache` directory to avoid
unnecessarily re-calculating the JVM classpath. Caching this directory
won't prevent downloads, but does improve build time slightly.
[clojure-cli]: https://clojure.org/reference/deps_and_cli
0 commit comments