Don't need to bind *compile-path* in compile.
This commit is contained in:
parent
d84de0ccfa
commit
c27e16e744
1 changed files with 5 additions and 8 deletions
|
@ -7,11 +7,8 @@
|
|||
"Compile the namespaces specified in build.clj or all namespaces in src/
|
||||
if none are provided."
|
||||
[project]
|
||||
;; TODO: not sure why this is necessary
|
||||
(binding [*compile-path* "classes/"]
|
||||
(.mkdir (file (:root project) "classes"))
|
||||
(doseq [n (or (:namespaces project)
|
||||
(find-namespaces-in-dir (file (:root project) "src")))]
|
||||
(println "Compiling" n)
|
||||
;; TODO: check to see if bytecode is older than source
|
||||
(clojure.core/compile n))))
|
||||
(doseq [n (or (:namespaces project)
|
||||
(find-namespaces-in-dir (file (:root project) "src")))]
|
||||
(println "Compiling" n)
|
||||
;; TODO: check to see if bytecode is older than source
|
||||
(clojure.core/compile n)))
|
||||
|
|
Loading…
Reference in a new issue