Created
August 5, 2016 06:22
-
-
Save FossiFoo/878674869202b5f8f7a343ef9250cdca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def ^:private deps | |
'[[cloverage "1.0.6"]]) | |
(deftask cloverage | |
"cloverage analysis" | |
[] | |
(let [pod (-> (get-env) | |
(update-in [:dependencies] into deps) | |
pod/make-pod | |
future)] | |
(with-post-wrap fileset | |
(let [namespaces (fileset-namespaces fileset) | |
ns-names (map name namespaces) | |
args (into [] ns-names)] | |
(log :info "running cloverage with " args) | |
(pod/with-call-in @pod (cloverage.coverage/-main ~args)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment