Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (22 sloc) 1.299 kb

lein-checkouts

This lein plugin performs one of the lein tasks (clean, deps, compile, jar, uberjar, install) on the current project and makes sure that the dependency projects which linked in the "checkouts" folder are built as well.

Install

You can use this plugin in a single project by specifying the following in its project.clj:

:plugins [[lein-checkouts "1.1.0"]]

To be able to use the plugin in every project, add it to your ~/.lein/profiles.clj like this:

{:user {:plugins [[lein-checkouts "1.1.0"]]}}

Usage

When using leiningen you can use so called "checkout dependencies" by creating a "checkouts" folder that contains symbolic links on other projects you want to use without having to build them.

This plugin enables you to build and install all of those dependency projects for a release of your project (e.g. jar, uberjar).

Depending on the specified task different actions are performed on the dependency projects.

  • clean, deps, install: The task is executed for the project and its dependency projects.
  • jar, uberjar: All dependency projects are "install"ed and the given task is executed on the current project.

License

Copyright (C) 2011-2013 Gunnar Völkel

Distributed under the Eclipse Public License, the same as Clojure.

Jump to Line
Something went wrong with that request. Please try again.