healthfinch / depstar

A clj-based uberjarrer. See version maintained by Sean for up to date releases.
https://github.com/seancorfield/depstar
104 stars 24 forks source link

Add support for optional main class/manifest -- fixes #5 #7

Closed seancorfield closed 6 years ago

seancorfield commented 6 years ago

If a second argument is provided after the JAR filename, a minimal manifest will be added to the JAR file.

If -m is provided, clojure.main will be used for Main-Class, else the argument will be assumed to be the main namespace to use for Main-Class.

seancorfield commented 6 years ago

I suspect this PR isn't in keeping with the minimalist intentions of depstar so I'm withdrawing it. After discussing it internally at work, I think we'll use depstar as-is and just run the resulting JAR files differently.