Skip to content

Package a leiningen project into a distribution tar file

Notifications You must be signed in to change notification settings

pallet/lein-dist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Package a leiningen project into a distribution tar file

Resources

Stars

Watchers

Forks

Packages

No packages published