-
Notifications
You must be signed in to change notification settings - Fork 789
Patches
Nicola Mometto edited this page Sep 27, 2013
·
14 revisions
Make a branch off master and write the code for the patch and commit it. Please squash multiple commits into a single commit. Then produce the patch with the following:
git format-patch master --stdout > cljs_ticket_number.patch
In order to test ClojureScript patches in your own project (assuming you are using leln-cljsbuild) please do the following.
git clone
clojurescript into a directory in your project called checkouts
. Add the following to your project.clj
:
:extra-classpath-dirs ["checkouts/clojurescript/src/clj"
"checkouts/clojurescript/src/cljs"]
Apply the patch and use lein-cljsbuild as usual to confirm the patch works for you.
git clone
clojurescript into your project directory. Append the following to your :source-paths
in your project.clj
:
:source-paths [... your source paths ...
"clojurescript/src/clj"
"clojurescript/src/cljs"]
Apply the patch and use lein-cljsbuild as usual to confirm the patch works for you.
- Rationale
- Quick Start
- Differences from Clojure
- [Usage of Google Closure](Google Closure)