Comments (4)
You should use , as the separator for arguments, EG
scc --exclude-dir site-lisp/copilot.el/,site-lisp/lsp-bridge/
You might also want to consider using a .ignore file with those directories in there to assist with this.
Let me know if the , works as expected as I was able to achieve what you requested using that.
from scc.
You should use , as the separator for arguments, EG
scc --exclude-dir site-lisp/copilot.el/,site-lisp/lsp-bridge/
I tried this
./scc --exclude-dir .git/,site-lisp/copilot.el/,site-lisp/lsp-bridge/
as well; the result was incorrect -- it included some JSON files (and other files that should have been excluded).
from scc.
Would it be possible to craft a smaller test case I can use to replicate this? I will be happy to include it into the repository itself in order to validate this. I ask because the repository you linked I had some issues cloning.
I need to see the file you are expecting to not be included as well so I can verify the issue exactly. Please be more specific. The more specific the better.
from scc.
a smaller test case
I've delete most files and upload the ZIP (3.38MB) here.
The ZIP file includes scc-3.1.0
.
After extract it, execute
./scc.exe --exclude-dir ".git/,site-lisp/copilot.el/,site-lisp/lsp-bridge/"
It is obviously that there is no JSON files, but scc
doesn't think so.
from scc.
Related Issues (20)
- GNUmakefile is not recognized as Makefile HOT 1
- Recognize file type base on mime type HOT 8
- Shields like style HOT 2
- Different Results on Windows and Linux HOT 5
- Cut new release? HOT 2
- Why CUDA files are not supported? HOT 2
- scc handle .gitignore are unexpected HOT 1
- error in Ubuntu 18.06: file or directory does not exist HOT 4
- sourcehut on sloc.xyz HOT 8
- Wrong language Complexity/Lines calculation when using -wide
- scc version 3.2.0 fails to compile with 32 bit golang toolchain in Windows HOT 3
- "Arvo" should be "Avro" HOT 1
- Add Templ Support
- Let badge exclude/include some folders HOT 4
- scc includes the .ignore file as part of the project counting HOT 4
- Feature Request Azure Bicep Support HOT 4
- RISCV assembly - can't count comments HOT 2
- Incorrect calculation of the number of lines in a badge if it was added to the repository at the start HOT 3
- Add support for https://typespec.io/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scc.