Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HakimCassimallyBBC/c67922ad9d0e7611f2678937e920d762 to your computer and use it in GitHub Desktop.
Save HakimCassimallyBBC/c67922ad9d0e7611f2678937e920d762 to your computer and use it in GitHub Desktop.
build-deps sketch (doesn't work)
(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