cgag / loc

Count lines of code quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake files not handled as expected

dmey opened this issue · comments

commented

Describe the bug
loc ignores files with cmake extension, furthermore CMakeLists.txt files are reported as Plain Text files instead of CMake files.

Expected behavior

  1. loc should report the number of lines for CMake files with extension cmake under the CMake category
  2. loc should report the number of lines for CMake files with name CMakeLists.txt under the CMake category

Operating System Information

  • Only tested on Windows 10

loc version used

  • trust-v0.4.1-x86_64-pc-windows-msvc.zip

Additional context
I have seen that there was a PR merged some time ago about this (#52) but not sure if it was tested.