Fork me on GitHub
#leiningen
<
2017-05-11
>
lumengxi18:05:52

@ezmiller77 do you want your func to run before ALL tests? you can do that by using :injections in your profiles.clj

lumengxi18:05:07

for exmaple, you can do something like this:

lumengxi18:05:45

:test {:injections
        [(require '[schema.core :as s])
         ; Turn on schema validation for all tests
         (s/set-fn-validation! true)
         ; Initialize TestLogger for all tests
         (log/init-logger! {:service "blahblah" :stage "test" :log-fmt :test})]}

uwo19:05:45

is it possible to get lein deploy to deploy an uberjar instead of a jar? I do see a number of plugins for this purpose, so I guess no

lumengxi19:05:52

@uwo you could always use a plugin to do that then alias it to lein deploy