Open camsaul opened 5 years ago
To be 100% honest, it's been so long that I no longer remember. I might have merged profiles to pick up other required source on any resource paths, but I'm not certain.
If you think there better behavior, I'd be very happy if you opened a PR for it
My
project.clj
looked something like:and I was super confused when Bikeshed started failing after I added a
:source-paths ["test"]
to a completely unrelated profile in myproject.clj
:I tried changing adding
:source-paths ^:replace ["src"]
to the:bikeshed
profile but that didn't fix it either:I ended up having to go thru the
lein-bikeshed
source to work out what was going on and fixed it by adding--exclude-profiles
to the alias.I have a couple questions:
--exclude-profiles
option exists, but it seems sort of weird and unlike every other Leiningen plugin I can think of.opts
andlein-opts
map so you can specify:bikeshed {:exclude-profiles [...]}
inproject.clj
instead of having to pass the exclusions list via a command-line arg. I can PR for this as well.