Package a leiningen project into a distribution tar file
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/leiningen
.gitignore
README.md
ReleaseNotes.md
project.clj

README.md

lein-dist

Package a Leiningen project into a self contained tar file, containing all the project's dependencies.

Requires leiningen version 2.

Usage

$ lein dist

Creates myproject-version.tar in the target directory.

Install

Add [lein-dist "0.1.1"] to the :plugins vector of your :user profile, or your project.clj.

Details

The plugin will create a version of the project that uses a project-local maven repo using :local-repo "local-m2", resolves all the dependencies into that repository and then sets :offline? true.

The plugin also packages a version of lein, that uses ./.lein as it's configuration directory (LEIN_HOME).

License

Copyright © 2012, 2013 Hugo Duncan.

Distributed under the Eclipse Public License.