Fork me on GitHub
#boot
<
2017-09-24
>
jstew23:09:23

Anyone know how I could get boot to auto-load some namespace? I have a bunch of macros I use for testing, and have come up with this:

(deftask testing
  "Profile setup for running tests."
  []
  (set-env! :source-paths #(conj % "test"))
  (require '[my.test-macros :refer :all])
  identity)
But it doesn't work.

jstew23:09:21

I get Unable to resolve symbol: in the file I'm trying to use some of the symbols from that namespace.

jstew23:09:35

I invoke with boot testing test

dave23:09:38

@jstew: i guess it depends on what you're trying to do. where do you want those symbols available? in a repl? in build.boot? etc.