Skip to content

Building the compiler

Shaun Mahood edited this page Feb 27, 2017 · 7 revisions

First, checkout this git repository so the files are on your local machine.

Building for Maven

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).

Building a Standalone JAR

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.

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy