Last active
June 18, 2019 09:52
-
-
Save lilactown/a67bb2dc9295d7990d9f8525f478457c to your computer and use it in GitHub Desktop.
Start a Clojure(Script) REPL with rebel-readline and any other dependencies you want to include
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
# Add these to your .bash_profile / .zshrc / etc. | |
# Starts a Clojure repl | |
function rebel-clj() { | |
clojure -Sdeps "{:deps {com.bhauman/rebel-readline {:mvn/version \"0.1.4\"} $@}}" -m rebel-readline.main | |
} | |
# Starts a browser REPL | |
function rebel-cljs() { | |
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.1.7\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"} $@}}" -m figwheel.main | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made it so you can use the lein coordinates easily. Thanks for the idea! :)