Skip to content

Instantly share code, notes, and snippets.

@pespes
Created October 8, 2011 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pespes/1272618 to your computer and use it in GitHub Desktop.
Save pespes/1272618 to your computer and use it in GitHub Desktop.
compile from Clojurescript repl
(require '[cljs.closure :as cljsc])
(doc cljsc/build)
-------------------------
cljs.closure/build
([source opts])
Given a source which can be compiled, produce runnable JavaScript.
$ bin/cljsc hello.cljs '{:optimizations :advanced}' > hello.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment