Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 59b05d2bfd
Fetching contributors…

Cannot retrieve contributors at this time

file 36 lines (19 sloc) 1.111 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# lein-git-deps

A leiningen task that will pull dependencies in via git.

Original code extracted from the excellent ClojureScript One Project:

https://github.com/brentonashworth/one
https://github.com/brentonashworth/one/blob/master/src/leiningen/git_deps.clj

## Usage

Dependencies should be listed in project.clj under the ":git-dependencies" key

Dependencies can be provided as:

 * url
 * url & any param applicable for 'git checkout', like a commit id or a branch name.
 * url, commit, and a map of options


To get the system to play nice with leiningen, you will need to add the code to to the classpath:

    :git-dependencies [["https://github.com/tobyhede/monger.git"]]
    :extra-classpath-dirs [".lein-git-deps/monger/src/"]

You will also need to manually add the checked-out project's dependencies as your own (the plugin simply checks out the code, it doesn't recursively resolve dependencies).



## License

Copyright (C) 2012 Toby Hede

Copyright (C) 2012 Brenton Ashworth and Relevance, Inc

Distributed under the Eclipse Public License, the same as Clojure uses. See the file LICENSE.
Something went wrong with that request. Please try again.