diff options
Diffstat (limited to '')
-rw-r--r-- | lux-lein/src/leiningen/lux/builder.clj | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lux-lein/src/leiningen/lux/builder.clj b/lux-lein/src/leiningen/lux/builder.clj index 76e19b1e8..408af5c7b 100644 --- a/lux-lein/src/leiningen/lux/builder.clj +++ b/lux-lein/src/leiningen/lux/builder.clj @@ -5,17 +5,18 @@ (defn build [project] (if-let [program-module (get-in project [:lux :program])] - (if-let [command (&utils/build-jvm project program-module)] + ;; (if-let [command (&utils/build-jvm project program-module)] + ;; (when (time (&utils/run-process command + ;; nil + ;; "[COMPILATION BEGAN]" + ;; "[COMPILATION ENDED]")) + ;; true) + ;; ) + (let [command (&utils/compile-path project program-module (get project :source-paths (list)))] (when (time (&utils/run-process command nil "[COMPILATION BEGAN]" "[COMPILATION ENDED]")) - true) - (let [command (&utils/compile-path project program-module (get project :source-paths (list)))] - (when (time (&utils/run-process command - nil - "[COMPILATION BEGAN]" - "[COMPILATION ENDED]")) - (time (&packager/package project program-module (get project :resource-paths (list)))) - true))) + (time (&packager/package project program-module (get project :resource-paths (list)))) + true)) (println "Please provide a program main module in [:lux :program]"))) |