diff options
| author | Gord Allott <gord.allott@canonical.com> | 2011-07-19 14:40:27 +0100 |
|---|---|---|
| committer | Gord Allott <gord.allott@canonical.com> | 2011-07-19 14:40:27 +0100 |
| commit | 101dc4b50c5bb9b1365115a8c9374c0fd455e2b4 (patch) | |
| tree | 995251b8f4b6b26d77fce83886cdc7a5bac9ddec /tools | |
| parent | c69480ebe2b0b96225550440be6eb9deb0dbbbd5 (diff) | |
added an astyle formatter to the tools
(bzr r1290.1.1)
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 |
