This repository has been archived by the owner on May 31, 2019. 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.
- Loading branch information
Showing
3 changed files
with
53 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,61 @@ | ||
# lein-deploy-deps | ||
|
||
A Leiningen plugin to do many wonderful things. | ||
Deploy all of your project's dependencies to a remote repository with | ||
[Leiningen][0]. | ||
|
||
## Usage | ||
## Install | ||
|
||
### Leiningen 2 | ||
|
||
FIXME: Use this for user-level plugins: | ||
Add `[lein-deploy-deps "0.1.0"]` to the `:plugins` vector of your | ||
`:user` profile, or your `project.clj`. | ||
|
||
Put `[lein-deploy-deps "0.1.0-SNAPSHOT"]` into the `:plugins` vector of your | ||
`:user` profile, or if you are on Leiningen 1.x do `lein plugin install | ||
lein-deploy-deps 0.1.0-SNAPSHOT`. | ||
### Leiningen 1 | ||
|
||
FIXME: Use this for project-level plugins: | ||
This has not been tested. If you use `lein-deploy-deps` with leiningen 1 please | ||
let me know how it goes. | ||
|
||
Put `[lein-deploy-deps "0.1.0-SNAPSHOT"]` into the `:plugins` vector of your project.clj. | ||
|
||
FIXME: and add an example usage that actually makes sense: | ||
$ lein plugin install lein-deploy-deps 0.1.0 | ||
|
||
## Usage | ||
|
||
$ lein deploy-deps | ||
|
||
OR | ||
|
||
$ lein deploy-deps releases snapshots | ||
|
||
Either command will deploy all of your projects dependencies to the `releases` | ||
and `snapshots` repositories set up in your `project.clj` which should look | ||
something like this: | ||
|
||
```clojure | ||
{:deploy-repositories [["snapshots" {:url "https://your-repo.org/snapshots"}] | ||
["releases" {:url "https://your-repo.org/releases"}]]} | ||
``` | ||
|
||
OR | ||
|
||
```clojure | ||
{repositories [["snapshots" {:url "https://your-repo.org/snapshots"}] | ||
["releases" {:url "https://your-repo.org/releases"}]]} | ||
``` | ||
|
||
You can use any repository that you've set up in your `project.clj`. For | ||
repositories not named `"snapshots"` or `"releases"` you should make sure to set | ||
`:snapshots` appropriately. | ||
|
||
## Thanks! | ||
|
||
This plugin was developed with the support of [otherpeoplespixels][1]. | ||
|
||
## License | ||
|
||
Copyright © 2013 FIXME | ||
Copyright © 2013 Kevin Neaton | ||
|
||
Distributed under the [Eclipse Public License][2]. | ||
|
||
Distributed under the Eclipse Public License, the same as Clojure. | ||
[0]: https://github.com/technomancy/leiningen | ||
[1]: http://www.otherpeoplespixels.com | ||
[2]: http://www.eclipse.org/legal/epl-v10.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(defproject lein-deploy-deps "0.1.0-SNAPSHOT" | ||
:description "FIXME: write description" | ||
:url "http://example.com/FIXME" | ||
(defproject lein-deploy-deps "0.1.0" | ||
:description "Deploy project dependencies to a remote repository" | ||
:url "https://github.com/neatonk/lein-deploy-deps" | ||
:license {:name "Eclipse Public License" | ||
:url "http://www.eclipse.org/legal/epl-v10.html"} | ||
:eval-in-leiningen true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters