mirror of
https://github.com/QuasarApp/zip.git
synced 2025-05-12 03:39:33 +00:00
Update README.md
This commit is contained in:
parent
9611ec3a7e
commit
36da04203f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user