esp-idf/tools/format.sh
Jakob Hasse e33153f633 Added basic C++ style guide
* C++ style guide
* Changed headings to "Title Case"
2019-10-09 12:25:48 +08:00

15 lines
289 B
Bash
Executable File

#!/bin/bash
# Runs astyle with the full set of formatting options
astyle \
--style=otbs \
--attach-namespaces \
--attach-classes \
--indent=spaces=4 \
--convert-tabs \
--align-pointer=name \
--align-reference=name \
--keep-one-line-statements \
--pad-header \
--pad-oper \
"$@"