jolav / codetabs

Free Online Services. Github/GitLab star history. Count Lines of Code. CORS proxy server. IP GeoLocation. HTTP Headers. Random Data. Api weather temp. Alexa ranking.
https://codetabs.com
BSD 3-Clause "New" or "Revised" License
238 stars 32 forks source link

bug: cannot recognize GNUmakefile as Makefile Language #29

Closed shynur closed 1 year ago

shynur commented 1 year ago

To save your time, please use my test example directly:

jolav commented 1 year ago

codetabs/loc is only an online wrapper for github.com/boyter/scc. SCC supports makefile

I know nothing about makefile or GNUmakefile. But maybe you need to indicate the file extension

shynur commented 1 year ago

jolav: maybe you need to indicate the file extension

They don't need extension. It is a convention that "GNUmakefile"/"Makefile" uses Makefile language.

Here, "Makefile" is recognized by codetabs/loc correctly, but "GNUmakefile" not. That is the problem.

jolav: github.com/boyter/scc

Thanks. I shall take a look.

jolav commented 1 year ago

Here is the list of languages supported

https://github.com/boyter/scc/blob/master/LANGUAGES.md

shynur commented 1 year ago

jolav: https://github.com/boyter/scc/blob/master/LANGUAGES.md

Thanks. I've reported as boyter/scc/issues/395, and thus issue can be closed now.