Last active
March 19, 2016 03:54
-
-
Save alandipert/90640f35771aa44cae5c 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
(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