Created
October 17, 2013 12:33
-
-
Save ifesdjeen/7024102 to your computer and use it in GitHub Desktop.
If you're deploying 20 Clojure libs a day (and keep forgetting Clojars deploy syntax), you're going to love that script. Maybe there's a leiningen task for that, never tried.
This file contains hidden or 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
#!/usr/bin/ruby | |
res = `lein do pom, jar` | |
jar = res.split("\n").last.gsub("Created ", "") | |
puts "Gonna deploy jar: #{jar}" | |
exec "scp pom.xml #{jar} [email protected]:" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment