Fork me on GitHub
#tools-deps
<
2019-09-30
>
taylor04:09:28

I have a deps.edn project/repo that I’d like to also keep example projects, but ideally those wouldn’t get pulled when another deps.edn project depends on mine e.g. via git. Would tools.deps pull those “extra” files from my repo, and the README and everything? Should I stop worrying about a few kilobytes?

seancorfield04:09:53

@taylor If someone depends on your project via git deps, the whole repo will be checked out (regardless of which parts are actually used).

thumbsup_all 4
seancorfield04:09:39

If you publish an artifact (on Clojars or wherever) then you can choose what goes into that.

sogaiu06:09:00

you get a bare clone of the repository + one or more checkouts corresponding to whatever commits are used, right? at least, that's how it looks under ~/.gitlibs/