We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there!
Becase check.clj checks only :source-paths, it is not intuitive to make lein check also check test/ namespaces.
:source-paths
lein check
test/
(One might have guessed that with-profile +test would work - but nope)
with-profile +test
A simple fix would seem to also honor :test-paths if the test profile is active.
:test-paths
test
(Note that always enabling it might fail, since the :test profile can add :dependencies otherwise absent)
:test
:dependencies
There's the workaround of adding :profiles {:test {:source-paths ["test"]}} but if feels pretty wrong.
:profiles {:test {:source-paths ["test"]}}
Cheers - V
The text was updated successfully, but these errors were encountered:
Good point.
What if it defaulted to using :source-paths only if :check-paths was absent? Then it could be easily overridden.
:check-paths
Sorry, something went wrong.
This also SGTM and probably it's easier to convey/maintain :)
Would you like to take a shot at this?
Not atm - sorry!
No branches or pull requests
Hi there!
Becase check.clj checks only
:source-paths
, it is not intuitive to makelein check
also checktest/
namespaces.(One might have guessed that
with-profile +test
would work - but nope)A simple fix would seem to also honor
:test-paths
if thetest
profile is active.(Note that always enabling it might fail, since the
:test
profile can add:dependencies
otherwise absent)There's the workaround of adding
:profiles {:test {:source-paths ["test"]}}
but if feels pretty wrong.Cheers - V
The text was updated successfully, but these errors were encountered: