Skip to content

Commit

Permalink
Add repljs script to launch ClojureScript REPL directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Redinger & Stuart Sierra authored and Stuart Sierra committed Jun 17, 2011
1 parent c6ba971 commit f15d541
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/repljs
@@ -0,0 +1,5 @@
#!/bin/sh
java -server -Xmx2G -Xms2G -Xmn256m -cp 'lib/*:src/clj:src/cljs' clojure.main -e \
"(require '[cljs.compiler :as comp])
(def jse (comp/repl-env))
(comp/repl jse)"

0 comments on commit f15d541

Please sign in to comment.