Giter Site home page Giter Site logo

Comments (7)

Vinatorul avatar Vinatorul commented on July 18, 2024

Thank you for your contibution!
Yeah, there are more valid extensions for other languages, too, .htm for html, .h++, .h for c++ headers, etc.
It will be done when @kbknapp or I will have some free time 😉
I think I can try it tonight or tommorow.

from cargo-count.

kbknapp avatar kbknapp commented on July 18, 2024

@Vinatorul should be as easy as adding another line(s) below this one with the additional extensions.

edit: fixed link

from cargo-count.

ztdwu avatar ztdwu commented on July 18, 2024

I don't think the fix quite worked.

> touch a.cc
> touch a2.cc
> touch a3.cc
> ls
a.cc a2.cc a3.cc

> ~/workspace/cargo-count/target/release/cargo-count count 
Gathering information...
         Language  Files  Lines  Blanks  Comments  Code
         --------  -----  -----  ------  --------  ----
         C++       1      0      0       0         0
         C++       1      0      0       0         0
         C++       1      0      0       0         0
         --------  -----  -----  ------  --------  ----
Totals:            3      0      0       0         0

from cargo-count.

m-n avatar m-n commented on July 18, 2024

I think the multiple C++ printed lines is fixed on master, but hasn't been published to crates.io yet.

from cargo-count.

kbknapp avatar kbknapp commented on July 18, 2024

@m-n I apologise. I'm pushing some updates now, and I'll upload the new version to crates.io.

from cargo-count.

m-n avatar m-n commented on July 18, 2024

@kbknapp Thanks. I don't intend to rush you; I wanted to make sure the status of the issue was clear.

from cargo-count.

nabijaczleweli avatar nabijaczleweli commented on July 18, 2024

This is fixed when you release current HEAD

from cargo-count.

Related Issues (18)

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.