GithubHelp home page GithubHelp logo

Comments (4)

boyter avatar boyter commented on June 7, 2024

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.

shynur avatar shynur commented on June 7, 2024

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.

boyter avatar boyter commented on June 7, 2024

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.

shynur avatar shynur commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.