diff options
author | Eduardo Julian | 2016-12-02 21:40:07 -0400 |
---|---|---|
committer | Eduardo Julian | 2016-12-02 21:40:07 -0400 |
commit | 9f237c5c5a12dc4aa3b4fbd486586050bf84b2b8 (patch) | |
tree | 60517d31082d82cded6d3f0d50e8406695cefa6d /lux-lein/src/leiningen/lux/test.clj | |
parent | 60d3952d9550cc4d6fd0f5fc8312104b21024799 (diff) |
- Fixed a bug that was causing compilation & testing to be done more than necessary.
- Changed the "watch" meta-command to "auto".
Diffstat (limited to 'lux-lein/src/leiningen/lux/test.clj')
-rw-r--r-- | lux-lein/src/leiningen/lux/test.clj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lein/src/leiningen/lux/test.clj b/lux-lein/src/leiningen/lux/test.clj index 2a7038904..8567d3ea9 100644 --- a/lux-lein/src/leiningen/lux/test.clj +++ b/lux-lein/src/leiningen/lux/test.clj @@ -11,10 +11,10 @@ (defn test [project] (if-let [tests-module (get-in project [:lux :tests])] - (do (&utils/run-process (&utils/compile-path project tests-module (concat (:test-paths project) (:source-paths project))) - nil - "[BUILD BEGIN]" - "[BUILD END]") + (when (&utils/run-process (&utils/compile-path project tests-module (concat (:test-paths project) (:source-paths project))) + nil + "[BUILD BEGIN]" + "[BUILD END]") (let [java-cmd (get project :java-cmd "java") jvm-opts (->> (get project :jvm-opts) (interpose " ") (reduce str "")) output-package (str (get-in project [:lux :target] &utils/output-dir) "/" |