This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-23
Channels
- # beginners (22)
- # cider (6)
- # clara (1)
- # cljs-dev (77)
- # clojure (23)
- # clojure-austin (5)
- # clojure-dusseldorf (1)
- # clojure-france (16)
- # clojure-nl (1)
- # clojure-poland (1)
- # clojure-russia (26)
- # clojure-spec (5)
- # clojurescript (120)
- # datomic (1)
- # events (1)
- # hoplon (158)
- # leiningen (5)
- # off-topic (2)
- # om (24)
- # onyx (19)
- # other-languages (1)
- # ring-swagger (4)
- # sql (1)
- # vim (1)
I have a bunch of stuff in my :dev profile that all seems to take effect when I run lein repl
, with the exception of a :source-paths list that doesn’t seem to be respected. Can anyone clue me in?
For example, under my :dev profile I have:
:plugins [[venantius/ultra "0.4.1"]]
:source-paths ["src/clj" "src/dev"]
:repl-options {:init-ns dev.user}
that plugin is loaded, my repl starts in dev.user
, but that ns requires a file that’s also under src/dev
and it errors out saying it’s not on the classpath
using the lein pprint
plugin, it shows that those source paths do get merged into the top level source-paths.
turns out I wasn’t using the right naming convention (including for dev.user, but it worked b/c it was specified to be loaded in the repl-options)