diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/apply_unity_formatting.sh | 1 | ||||
| -rw-r--r-- | tools/astyle-formatter | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tools/apply_unity_formatting.sh b/tools/apply_unity_formatting.sh new file mode 100755 index 000000000..7a5d78a44 --- /dev/null +++ b/tools/apply_unity_formatting.sh @@ -0,0 +1 @@ +astyle --options=astyle-formatter ../plugins/unityshell/src/*.cpp ../plugins/unityshell/src/*.h diff --git a/tools/astyle-formatter b/tools/astyle-formatter new file mode 100644 index 000000000..7582cea83 --- /dev/null +++ b/tools/astyle-formatter @@ -0,0 +1,12 @@ +--indent=spaces -s2 +--style=gnu +--indent-classes +--indent-switches +--indent-namespaces +--indent-namespaces +--min-conditional-indent=0 +--pad-oper +--pad-header +--convert-tabs +--align-pointer=type +--max-instatement-indent=80 |
