-
Notifications
You must be signed in to change notification settings - Fork 788
Patches
swannodette edited this page Nov 19, 2012
·
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 lein-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 clojuresript 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)