Skip to content

pallet/lein-crate

Repository files navigation

Repository · Issues · API docs · Annotated source · Release Notes

A pallet crate to install and configure leiningen.

Dependency Information

:dependencies [[com.palletops/lein-crate ":point"]]

Releases

PalletCrate VersionRepoGroupId
0.8.0-beta.1 :point clojars com.palletops Release Notes Source

Usage

To add leiningen to a server-spec or a group-spec:

(require '[pallet.crate.lein :as lein])
(server-spec :extends (lein/leiningen {}))

Options are:

:dir directory to install the lein script. Defaults to /usr/local/bin

:exec-name name to use for the script. Defaults to lein.

:version version of leiningen to install. Should be a tag in the leiningen repository. Defaults to stable.

The crate provides a lein function, to execute lein with arguments.

Tests

To run the live tests on VirtualBox:

lein live-test-up

To run tests against all supported targets:

lein live-test-up --selectors all

To remove test nodes:

lein live-test-down --selectors all

Support

On the group, or #pallet on freenode irc.

License

Copyright © 2013 Hugo Duncan

Distributed under the Eclipse Public License.

About

Pallet crate for installing and configuring leiningen

Resources

Stars

Watchers

Forks

Packages

No packages published