Skip to content
New issue

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

exclusion patterns #13

Open
slipset opened this issue Jun 29, 2015 · 2 comments
Open

exclusion patterns #13

slipset opened this issue Jun 29, 2015 · 2 comments

Comments

@slipset
Copy link

slipset commented Jun 29, 2015

I just started playing with code-maat, and I find I do something like this:
lein.bat run -l logfile.log -c git | grep -v pom.xml | grep -v test | head
It would be really nice to be able to specify these exclusions on the command-line of code-maat instead piping to commands

@adamtornhill
Copy link
Owner

Yes, that's a good idea. So far I've done it by shell scripts that clean the output. But it would be possible to do much earlier in the analysis pipe, just after the input log has been parsed.

Do you have any idea for the exclusion pattern format? There's a risk I'll go for regex otherwise.

@slipset
Copy link
Author

slipset commented Jun 29, 2015

I think I'd be happy with a comma-separated list of ant-style glob patterns like:

--exclusions='**/test**,**/pom.xml,**/resources/**/*.properties'

but I'd be happy with some regexes as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants