OVMS3-idf/tools/format.sh
2016-12-07 13:25:56 -08:00

12 lines
246 B
Bash
Executable file

#!/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 \
"$@"