flosse / sloc

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

Adding C# support (.cs) #23

Closed markmontymark closed 10 years ago

markmontymark commented 10 years ago

I added a .cs file extension. C# has single line and block comments. I tested against a directory with only .css files to make sure I didn't make a regression and it looked fine.

Also, I tested against a large directory with both .cs and .css files and it reported the correct number of .cs and .css files, so file extension matching doesn't seem to have been negatively affected for .css files.

flosse commented 10 years ago

thx!