DeflatedPickle / blame

A C++ library for TUIs (terminal user interfaces).
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Fix language detection on GitHub #8

Closed chocorho closed 3 years ago

chocorho commented 3 years ago

Add a .gitattributes to attempt to specify the language as C++ on the master branch (this fixes the repository UI on GitHub and also resolves Issue #7)

In full disclosure, this addition takes inspiration from the following gitattributes file: https://github.com/alexkaratarakis/gitattributes/blob/master/C%2B%2B.gitattributes

Feel free to smplify it, but for what it's worth, this did appear to fix the language detection on my fork of the repo.

On another note: there's more with this came from :smile:

I am hoping to analyze and/or work on this repo some more, because it interests me.

Miss you,

-chocorho

DeflatedPickle commented 3 years ago

Thanks for this but I do believe it's invalid. I explained in #7 why the repository is marked as D. As for working on this, please feel free! I stopped as I only had an itch to design a widget toolkit, not to actually work on one, and there are far better, more complete and battle-tested CLI libraries

chocorho commented 3 years ago

Dang, it appears you are right. When I merge something to the "default branch", that's when the GitHub language is updated.

So as it turns out, even on my fork, the .gitattributes wasn't necessary after all.

I'll close the PR. But I hope my future ideas aren't as invalid, haha...