Skip to content

Instantly share code, notes, and snippets.

@ninjudd
Created September 28, 2012 00:34
Show Gist options
  • Save ninjudd/3797284 to your computer and use it in GitHub Desktop.
Save ninjudd/3797284 to your computer and use it in GitHub Desktop.
(preprocess-repos [["foo" {:url "http://foo.com"
:username "u"
:password "p"}]
["bar" "http://bar.com"]])
; [["foo" {:username "u", :url "http://foo.com", :password "p"}], ["bar" {:url "http://bar.com"}]]
(preprocess-deps '[[org.thnetos/cd-client "0.3.0" :classifier "foo"]
[org.clojure/tools.nrepl "0.2.0-beta2" :extension "bar"]])
; [[[org.thnetos/cd-client "foo" nil] {:version "0.3.0"}] [[org.clojure/tools.nrepl nil "bar"] {:version "0.2.0-beta2"}]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment