This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information