diff options
Diffstat (limited to 'lux-lein/src/leiningen/lux/builder.clj')
-rw-r--r-- | lux-lein/src/leiningen/lux/builder.clj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lein/src/leiningen/lux/builder.clj b/lux-lein/src/leiningen/lux/builder.clj index 530b61bfe..fcb0562ad 100644 --- a/lux-lein/src/leiningen/lux/builder.clj +++ b/lux-lein/src/leiningen/lux/builder.clj @@ -10,9 +10,9 @@ (defn build [project] (if-let [program-module (get-in project [:lux :program])] - (do (&utils/run-process (&utils/compile-path project program-module (get project :source-paths (list))) - nil - "[BUILD BEGIN]" - "[BUILD END]") + (when (&utils/run-process (&utils/compile-path project program-module (get project :source-paths (list))) + nil + "[BUILD BEGIN]" + "[BUILD END]") (&packager/package project program-module (get project :resource-paths (list)))) (println "Please provide a program main module in [:lux :program]"))) |