Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run git-deps transparently/automatically #5

Open
rplevy-draker opened this issue Jun 28, 2012 · 3 comments
Open

Run git-deps transparently/automatically #5

rplevy-draker opened this issue Jun 28, 2012 · 3 comments

Comments

@rplevy-draker
Copy link

Hi Toby,

I haven't studied the source much yet, but is there any way we could make git-deps run similarly to how deps runs? The real advantage to this is that deps runs transparently and is hardly ever necessary to run manually. Similarly git deps could run prior to any lein command that might require it. Presumably the same situations in which the check for deps occurs.

Perhaps this automatic running of git-deps should be an option to enable or disable because not everyone would want it, and perhaps no one would want it on all of the time. But for me at least, the typical use case is that I have a dependency used by multiple projects, so when there is a change in the dependency, I need to go into every project and lein git-deps.

The lein-git-deps plugin is working great by the way. We have it checking out into the lein ./checkouts directory.

@pchalasani
Copy link

I agree, it would be great if I simply put the appropriate :git-dependencies and :plugins into my project.clj, and then when I run lein uberjar, it should: (a) git clone/pull the repo from github, (b) do lein git-deps, (c) do lein install. Currently, I have to manually do (b) and (c).

@torsten
Copy link
Contributor

torsten commented Apr 7, 2014

Hi, I had the same issue and tried to fix it in #7 .

If that PR is accepted, even lein repl should automatically pull the git dependencies and all of it's dependencies.

@callsSolve
Copy link

Hi , i keep on getting this error mesages :

Run lein deps
lein deps
shell: /bin/bash -e {0}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants