Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 816 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 816 Bytes

lein-tar

How far could you take a jar if the jar was in a tar? Possibly as
far as Myanmar.

Package your project up as a tarball!

Formerly known as lein-release.

Usage

$ lein tar

Creates myproject-1.0.0.tar including everything in pkg/ along with all dependencies plus the jar of your project. If you are building from Hudson, your tarball will contain a build.clj file that shows which build produced it.

Installation

Add [lein-tar "1.0.2"] to your project's :dev-dependencies.

Known Issues

Due to absurd limitations in the Java file API, Unix permissions inside the tarball are an approximation[1]. Executable files will be given permissions of 0755, while other files will be 0644.

[1] - to phrase it charitably.

License

Licensed under the EPL; the same license as Clojure.