Skip to content

Instantly share code, notes, and snippets.

@FossiFoo
Created August 5, 2016 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FossiFoo/878674869202b5f8f7a343ef9250cdca to your computer and use it in GitHub Desktop.
Save FossiFoo/878674869202b5f8f7a343ef9250cdca to your computer and use it in GitHub Desktop.
(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