Skip to content

Instantly share code, notes, and snippets.

@alandipert
Last active March 19, 2016 03:54
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 alandipert/90640f35771aa44cae5c to your computer and use it in GitHub Desktop.
Save alandipert/90640f35771aa44cae5c to your computer and use it in GitHub Desktop.
(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