Fork me on GitHub
#tools-deps
<
2018-07-26
>
mitchelkuijpers13:07:16

Is anyone here using this on circleci? I think it is a good idea to cache the .cpcache folder? Because I saw this in the reference guide:

The cached classpath file is used when:

* It exists
* It is newer than all deps.edn files
I would guess if i checkout the project and then restore a cache the .cpcache folder is always newer

mitchelkuijpers13:07:48

Hmm this is exactly what you want if I base the cache on deps.edn.. While I typed this I figured it out lol

mitchelkuijpers14:07:24

Is there some place where it caches git dependencies? I am currently caching the .m2 folder and the .cpcache folder

mfikes14:07:32

@mitchelkuijpers by default ~/.gitlibs

Peter Wilkins19:07:24

hi, anyone know how to add a local maven repository to a deps.edn file?

mfikes19:07:17

:mvn/local-repo

mfikes19:07:01

So, for example, this will create and stash stuff in ./my-local-repo

clj -Sdeps '{:mvn/local-repo "my-local-repo"}'

👍 4