Re:Clojure, the Good Parts
by jwr on Wednesday April 20, 2016 @02:23AM
(#11532616)
Do those lines also name your jars as "project-2.7.11-g03d04c5a.jar" or similar?
[ Parent
| on HN ]
No, but only because load-file doesn't play well with all of my dependencies. However, that still doesn't seem like job for a plugin, given that this works out of the box with leniningen:
:uberjar-name ~(str "foobar-%s-"
(-> (clojure.java.shell/sh "git" "rev-parse" "--short" "HEAD") :out .trim)
".uber.jar")