Add astyle script for the project
[rpi-open-firmware.git] / style.sh
1 #!/bin/sh
2
3 # runs astyle on our code to conform to project standards
4 # contributors should run this prior to PRs
5
6 # a handful of subprojects (BCM headers, libfdt, etc.) are included in-tree
7 # to avoid create merge conflicts when pulling upstream, only style our code
8 FILES="*.c *.h arm_chainloader/*.c arm_chainloader/*.cc arm_chainloader/*.h arm_chainloader/drivers/*.cc arm_chainloader/drivers/*.hpp"
9
10 # run astyle with tabs and attached braces
11 astyle --style=attach --indent=tab $FILES
This page took 0.062347 seconds and 4 git commands to generate.