flosse / sloc

simple tool to count SLOC (source lines of code)
MIT License
944 stars 84 forks source link

add support for iced-coffee-script #62

Closed bwin closed 8 years ago

bwin commented 8 years ago

We treat .iced files the same way we treat .coffee files. Iced-coffee-script is just coffee-script with 2 additional keywords.

Please merge, I would like to have iced supported.

bwin commented 8 years ago

I didn't include the generated .js files in my commit. Hope that's right.

flosse commented 8 years ago

Thank you!

I didn't include the generated .js files in my commit. Hope that's right.

that's absolutely welcome ;-)

Would you mind to add a note in the readme? And there is a little clean code test that fails.

  ✗ src/sloc.coffee
     ✗ #27: Line exceeds maximum allowed length. Length is 87, max is 80.
bwin commented 8 years ago

Impressive reaction time on your side. I already noticed the lint issue (fixed). And I forgot about the readme (fixed).

BTW: I noticed that the tests on travis run on ancient node versions (0.10 & 0.12).

bwin commented 8 years ago

I forgot to add a test... (wait 1sec)

flosse commented 8 years ago

Impressive reaction time on your side.

just by accident ;-)

BTW: I noticed that the tests on travis run on ancient node versions (0.10 & 0.12).

you're right: https://github.com/flosse/sloc/issues/63