diff --git a/build.boot b/build.boot index a395b44..7e4c487 100644 --- a/build.boot +++ b/build.boot @@ -1,7 +1,7 @@ (set-env! :resource-paths #{"src"}) -(def version "1.0.6") +(def version "1.0.7") (task-options! pom {:project 'seancorfield/boot-expectations diff --git a/src/seancorfield/boot_expectations.clj b/src/seancorfield/boot_expectations.clj index a3fb824..ca74c1b 100644 --- a/src/seancorfield/boot_expectations.clj +++ b/src/seancorfield/boot_expectations.clj @@ -13,7 +13,9 @@ [clojure.tools.namespace.find :as f] [expectations :as e]] requires)] - (pod/require-in fresh-pod r))) + (pod/require-in fresh-pod r)) + (pod/with-eval-in fresh-pod + (e/disable-run-on-shutdown))) (defn replace-clojure-version "Given a desired Clojure version and an artifact/version pair, @@ -50,7 +52,6 @@ (let [dirs (mapv (memfn getPath) (core/input-dirs fs))] (let [{:keys [fail error] :as summary} (pod/with-eval-in (pods) - (e/disable-run-on-shutdown) (doseq [n (distinct (mapcat #(f/find-namespaces-in-dir (io/file %)) ~dirs)) :when (and (re-find ~include (name n)) (not (re-find ~exclude (name n))))]