mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-23 21:35:34 +00:00
10 lines
303 B
Markdown
10 lines
303 B
Markdown
|
|
# Contribution Rules/Coding Standards
|
||
|
|
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:
|
||
|
|
```sh
|
||
|
|
for file in $(git ls-files | \grep -E '\.(c|h)$' | \grep -v -- '#')
|
||
|
|
do
|
||
|
|
clang-format -i $file
|
||
|
|
done
|
||
|
|
```
|