Skip to content

Instantly share code, notes, and snippets.

@alandipert
Last active Mar 19, 2016
Embed
What would you like to do?
(set-env! :dependencies '[[cursive/boot "1.0.0"]])
(require '[boot.from.backtick :refer [template]]
'[cursive.boot :as cb])
(cb/set-env!
:resource-paths #{"src"}
:source-paths #{"test"}
:dependencies (template [[org.clojure/clojure "1.8.0"]
[net.sf.supercsv/super-csv "2.4.0"]
[amazonica "0.3.51"]
[prismatic/schema "1.0.4"]
[adzerk/env "0.2.0"]
[alandipert/intension "1.0.0"]
[cheshire "5.5.0"]
[clj-time "0.11.0" :exclusions [joda-time]]
[seancorfield/boot-expectations "1.0.5" :scope "test"]
[adzerk/statsd-client "0.1.0"]
[boot/pod ~*boot-version*]
[org.clojure/tools.logging "0.3.1"]]))
(require '[seancorfield.boot-expectations :refer :all])
(ns-unmap *ns* 'test)
(deftask test []
(expectations :include #"test"))
(task-options!
jar {:main 'hoenir.main}
sift {:include #{#"\.jar$"}}
aot {:namespace #{'hoenir.main}})
(deftask build
[]
(comp (aot) (uber) (jar) (sift) (target)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment