libm2k
libm2k copied to clipboard
Enforce coding style
Enforce coding style on commits.
To prevent files mixing different coding styles
// example
if () {
...
}
if() {
...
}
we make Travis check the style of the files, being edited(patched) in the commit(commit range), and if something is not formatted according to the .clang-format files specifications, we fail the build.
For this to go through, we need:
- to discuss the coding style and code it into
.clang-format - format the existing code
- remove the test commit a3bc159
Some commits could use some descriptions
commits could use a description