Repository navigation
Add C and C++ to .gitignore - #21
Conversation
|
also kinda all over the place since i didn't want to mix all comments and kinda regrouped what i wanted together cc @fuewwa for review in case i'm missing anything (never wrote a line of C or C++ in my life) |
fuewwa
left a comment
There was a problem hiding this comment.
really strange .gitignore. also, why we dont creating our own .gitignore? it will be better than just use an template
| *.a | ||
| *.lib | ||
|
|
||
| # Executables |
There was a problem hiding this comment.
i think this will be better to add an *.bin also here
There was a problem hiding this comment.
what would have that extension? we won't put binary files in the source code randomly?
| *.gch | ||
| *.pch | ||
|
|
||
| # Linker files |
There was a problem hiding this comment.
i thought i added it, but the PR is now merged so can't really do anything
| CMakeFiles/ | ||
| CMakeCache.txt | ||
| cmake_install.cmake | ||
| Makefile |
There was a problem hiding this comment.
alpine linux officialy uses Makefile, it will REALLY bad idea to remove makefile from the project and change into CMakefiles.txt (sudging on this .gitignore)
There was a problem hiding this comment.
we're using debian now
because i don't know anything about C, C++ and Rust's generated files. we can add to this file later on |
see https://github.com/github/gitignore/blob/main/C.gitignore and https://github.com/github/gitignore/blob/main/C++.gitignore