Last active
June 11, 2020 19:09
-
-
Save frankiesardo/1a40b2285f17fcc7a0343f887b29eeb9 to your computer and use it in GitHub Desktop.
Clojure deps one liners
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
clojure -Sdeps '{:deps {clj-http {:mvn/version "3.10.1"}}}' -e '(use (quote clj-http.client)) (get "http://google.com")' |
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
clojure -Sdeps '{:deps {http-kit {:mvn/version "2.2.0"}}}' -e '(use (quote org.httpkit.server)) (run-server (constantly {:status 200}) {:port 8080})' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment