Created
November 29, 2012 00:32
-
-
Save roman/4165851 to your computer and use it in GitHub Desktop.
An example of a dalap_rules.clj file for lein-dalap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
["src/clj/util.clj" "src/cljs/util.clj"] | |
;; ^ this is the file-spec | |
;; bellow are the transformation rules that will work _only_ on util.clj | |
[ | |
;; rule 1 | |
JavaClass js_class ;; replace all the JavaClass symbols with js_class on cljs | |
;; rule 2 | |
.findRegexp .findRgxp ;; replace all the .findRegexp invocations to .findRgxp | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment