6602d6b7f2
This adds initial code style guide. Only section on code formatting is written, other sections to be added later. Also adds scripts to format code using astyle.
12 lines
246 B
Bash
12 lines
246 B
Bash
#!/bin/bash
|
|
# Runs astyle with the full set of formatting options
|
|
astyle \
|
|
--style=otbs \
|
|
--indent=spaces=4 \
|
|
--convert-tabs \
|
|
--align-pointer=name \
|
|
--align-reference=name \
|
|
--keep-one-line-statements \
|
|
--pad-header \
|
|
--pad-oper \
|
|
"$@"
|