Added a default astyle options file and a linux script to run it.

This commit is contained in:
Grant Morphett 2015-11-05 14:00:17 +11:00 committed by Andrew Tridgell
parent 977f6aaf15
commit 5c499484a8
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/sh
DIR=$(dirname $(readlink -f $0))
astyle --options="${DIR}"/astylerc $*

9
Tools/CodeStyle/astylerc Normal file
View File

@ -0,0 +1,9 @@
style=stroustrup
add-brackets
indent=spaces=4
indent-col1-comments
min-conditional-indent=0
suffix=none
lineend=linux
unpad-paren
pad-header