mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
d0098efa95
This commit introduces a few things. Basically I didn't like the fact that although we had a coding style document, no one was following it. See https://github.com/irungentoo/ProjectTox-Core/issues/453 for more info regarding that. This commit just marks the first of my efforts to refactor the code base according to the posted coding style document by introducing an astylerc and a optional git pre-commit hook. I propose that users can add this functionality as a pre-commit hook. More info is in the README file. However, this has only been tested on Linux and I imagine should work on OSX as well. I don't think pre-commit hooks work on Windows, but I may be mistaken. The future commits I plan are refactoring the source files for other offending items such as using typedefs. See http://wiki.tox.im/index.php/Coding_Style.
36 lines
260 B
Plaintext
36 lines
260 B
Plaintext
.DS_Store
|
|
|
|
//nacl build
|
|
nacl/build/
|
|
build
|
|
sodium
|
|
|
|
CMakeCache.txt
|
|
CMakeFiles
|
|
Makefile
|
|
cmake_install.cmake
|
|
install_manifest.txt
|
|
|
|
testing/data
|
|
*~
|
|
|
|
# Vim
|
|
*.swp
|
|
|
|
# Ctags
|
|
tags
|
|
|
|
# Object files
|
|
*.o
|
|
|
|
# Executables
|
|
*.exe
|
|
*.out
|
|
*.app
|
|
|
|
#netbeans
|
|
nbproject
|
|
|
|
#astyle
|
|
*.orig
|