Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.
/ depstar Public archive

A clj-based uberjarrer. See version maintained by Sean for up to date releases.

Notifications You must be signed in to change notification settings

healthfinch/depstar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This project is archived. For active development, see seancorfield/depstar ⚠️

depstar

a clj-based uberjarrer

Usage

Install this tool to an alias in $PROJECT/deps.edn or $HOME/.clojure/deps.edn:

{
  :aliases {:depstar
              {:extra-deps
                 {com.healthfinch/depstar {:git/url "https://github.com/healthfinch/depstar.git"
                                           :sha "4aa7b35189693feebc7d7e4a180b8af0326c9164"}}}}
}

Create an uberjar by invoking depstar with the desired jar name:

clj -A:depstar -m hf.depstar.uberjar MyProject.jar

depstar uses the classpath computed by clj. For example, add web assets into an uberjar by including an alias in your deps.edn:

{:paths ["src"]
 :aliases {:webassets {:extra-paths ["public-html"]}}}

Then invoke depstar with the chosen aliases:

clj -A:depstar:webassets -m hf.depstar.uberjar MyProject.jar

Note that depstar does no AOT compilation and does not add a manifest to the jar file. You can run the uberjar as follows (assuming project.core is your main namespace):

java -cp MyProject.jar clojure.main -m project.core

License

The use and distribution terms for this software are covered by the Eclipse Public License 2.0

About

A clj-based uberjarrer. See version maintained by Sean for up to date releases.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published