Skip to content

Instantly share code, notes, and snippets.

@tolitius
Last active February 5, 2016 17:01
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 tolitius/86dded54080cd0b7527c to your computer and use it in GitHub Desktop.
Save tolitius/86dded54080cd0b7527c to your computer and use it in GitHub Desktop.
ubermain + push
(deftask build []
(comp
(pom) ;; <<< names the file correctly + no need for --file in "(ubermain)" or "(push)"
(ubermain)
(sift :include #{#"stream-on.*.jar$"})
(target)))
(deftask deploy-snapshot []
(comp
(build)
(push :ensure-snapshot true
:repo-map {:url "../artifactory/..snapshots"
:password "..."
:username "..."})))
$ boot deploy-snapshot (master ✱)
Writing pom.xml and pom.properties...
Adding uberjar entries...
Performing substitutions on adzerk/MainSploder.java
Compiling 1 Java source files...
Writing stream-on-0.1.0-SNAPSHOT.jar...
Sifting output files...
Writing target dir(s)...
Deploying stream-on-0.1.0-SNAPSHOT.jar...
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment