Skip to content

Instantly share code, notes, and snippets.

@fgui
Created October 10, 2015 07:45
Show Gist options
  • Save fgui/6db7591bf398c1d61cf3 to your computer and use it in GitHub Desktop.
Save fgui/6db7591bf398c1d61cf3 to your computer and use it in GitHub Desktop.
basic boot build config for a lein new project
(set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.7.0"]
[adzerk/boot-test "1.0.4" :scope "test"]]
)
(require '[adzerk.boot-test :refer :all])
(deftask testing
"Profile setup for running tests."
[]
(set-env! :source-paths #(conj % "test"))
identity)
(task-options! repl {:eval '(set! *print-length* 20)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment