Created
February 10, 2017 13:57
-
-
Save HakimCassimallyBBC/c67922ad9d0e7611f2678937e920d762 to your computer and use it in GitHub Desktop.
build-deps sketch (doesn't work)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftask build-deps | |
"Build a deps JAR." | |
[d dir PATH #{str} "the set of directories to write to (target)."] | |
(set-env! :resource-paths #{} | |
:source-paths #{}) | |
(task-options! jar #(assoc % :file "epg-ingester-deps.jar" :main nil)) | |
(let [dir (if (seq dir) dir #{"target"})] | |
(comp (test) (aot) (pom) (uber) (jar) (target :dir dir)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment