-
Notifications
You must be signed in to change notification settings - Fork 790
Building the compiler
First, checkout this git repository so the files are on your local machine.
From the root folder of the repository, run
script/build
At the end of the build output you will see a line similar to the one below, but with different version numbers.
[INFO] Installing <...>/clojurescript/target/clojurescript-1.7.164-aot.jar to /Users/username/.m2/repository/org/clojure/clojurescript/1.7.164/clojurescript-1.7.164-aot.jar
This shows that ClojureScript 1.7.164 has been built, and is installed in your local Maven repo. To use it, specify your ClojureScript dependency as [org.clojure/clojurescript "1.7.164"]
(but with the version number that you built).
From the root folder of the repository, run
script/uberjar
This will create a standalone JAR file (located at target/cljs.jar
) that can be used to compile ClojureScript files without requiring Maven or any other dependencies. It can be use to follow the steps in the ClojureScript Quick Start as a replacement for the downloadable JAR file.
- Rationale
- Quick Start
- Differences from Clojure
- [Usage of Google Closure](Google Closure)