Skip to content

Instantly share code, notes, and snippets.

@ah45
Last active April 18, 2019 12:31
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 ah45/b7090361e23912aedb3fad9a4554f3a8 to your computer and use it in GitHub Desktop.
Save ah45/b7090361e23912aedb3fad9a4554f3a8 to your computer and use it in GitHub Desktop.
profiles.clj
{:test-refresh {:plugins [[com.jakemccrary/lein-test-refresh "0.23.0"]]
:test-refresh {:notify-command ["terminal-notifier" "-title" "Tests" "-message"]
:quiet true
:changes-only true}}
:dev {:dependencies [[criterium "0.4.4"]]}
:cider-nrepl {:plugins [[cider/cider-nrepl "0.21.1"]
[refactor-nrepl "2.4.0"]]}
:eftest {:plugins [[lein-eftest "0.5.7"]]
:eftest {:multithread? :vars
:thread-count 4}}
:user {:dependencies [;; for bat-test, to avoid conflicts with Yapster cassandra module
;;[mvxcvi/puget "1.0.3"]
;;[org.tcrawley/dynapath "1.0.0"]
;;[cloverage "1.0.10"
;; :exclusions [riddley
;; cider/piggieback
;; org.clojure/tools.cli]]
[pjstadig/humane-test-output "0.8.3"]]
:plugins [[lein-pprint "1.1.2"]
;; bat-test doesn't like being in it's own profile :(
;;[metosin/bat-test "0.4.2"
;; :exclusions [cider/piggieback]]
[io.sattvik/lein-ancient "0.6.11"
:exclusions [org.clojure/clojure
commons-codec]]]
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
;;:bat-test {:notify-command ["terminal-notifier" "-title" "Tests" "-message"]
;; :parallel? true
;; :report :progress}
:aliases {"repl" ["with-profile" "+cider-nrepl" "repl"]
"eftest" ["with-profile" "+eftest" "eftest"]
"test-refresh" ["with-profile" "+test-refresh" "test-refresh"]}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment