cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 126 forks source link

Exclude test data from GitHub language statistics. #5

Closed glennpratt closed 7 years ago

glennpratt commented 7 years ago

This project is measured as predominantly C because of the test files:

https://github.com/cgag/loc/search?l=c

This should exclude them from the stats.

See https://github.com/github/linguist#using-gitattributes

cgag commented 7 years ago

I thought it was lame that it was showing up as C, I shouldn't have known there was a way to fix it. Thanks a bunch.