The following commands work from the command line:
$ /usr/bin/perl inst/bin/cloc.pl "."
$ /usr/bin/perl inst/bin/cloc.pl --force-lang="R" "."
$ /usr/bin/perl inst/bin/cloc.pl --exclude-dir="R" "."
but the latter with sub-directories does not work. I want to exclude vendor code, so run this:
$ cloc --exclude-dir=man,docs,src/vendor "."
and all is good, yet this fails:
$ /usr/bin/perl /usr/local/lib/R/site-library/cloc/bin/cloc.pl --exclude-dir=man,docs,src/vendor "."
This issue is obviously nothing to do with your repo, so feel free to just close it. If, however, you want to investigate further, the offending lines that causes it to fail are the exclude_dir_validates function, currently here.
(It's not a cloc version thing either, coz same thing happens for all 1.74 -> 1.77)
The following commands work from the command line:
but the latter with sub-directories does not work. I want to exclude vendor code, so run this:
and all is good, yet this fails:
This issue is obviously nothing to do with your repo, so feel free to just close it. If, however, you want to investigate further, the offending lines that causes it to fail are the
exclude_dir_validatesfunction, currently here.(It's not a
clocversion thing either, coz same thing happens for all 1.74 -> 1.77)