diff_cover
diff_cover copied to clipboard
How diff-cover excludes multiple paths
diff-cover -- exclude I want to filter out all files in the test directory and third_party directory through the exclude parameter How should I write the --exclude parameter? thank you!
I have successfully excluded a directory, now I want to exclude two directories
solved,thanks
solved,thanks
Hi, can you please share the solution? I am trying to run diff-cover from bash with multiple paths and it doesn't seem to work.
if I use
--exclude *a/b/c/* --exclude *b/c/d* ...
-> it only excludes the last solution and if I use
--exclude *a/b/c* *b/c/d* ...
-> it throws an error that invalid argument exception.
Thank you
@zeavielly I'll admit it's been a while and I'll have to experiment a bit but I would have expected --exclude *a/b/c* *b/c/d*
to work in theory.
Perhaps quoting them?
--exclude "*a/b/c*" "*b/c/d*"