Update README.md

This commit is contained in:
Kuba Podgórski 2018-07-24 23:18:37 +02:00 committed by GitHub
parent 9611ec3a7e
commit 36da04203f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,7 +301,7 @@ new Zip {
# Contribution Rules/Coding Standards # Contribution Rules/Coding Standards
No need to throw away your coding style, just do your best to follow default clang-format style. No need to throw away your coding style, just do your best to follow default clang-format style.
Apply `clang-format` to the source files before commit: Apply `clang-format` to the source files before commit:
``` ```sh
for file in $(git ls-files | \grep -E '\.(c|h)$' | \grep -v -- '#') for file in $(git ls-files | \grep -E '\.(c|h)$' | \grep -v -- '#')
do do
clang-format -i $file clang-format -i $file