aboutsummaryrefslogtreecommitdiff
path: root/Tools/fix_code_style_ubuntu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/fix_code_style_ubuntu.sh')
-rwxr-xr-xTools/fix_code_style_ubuntu.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tools/fix_code_style_ubuntu.sh b/Tools/fix_code_style_ubuntu.sh
new file mode 100755
index 000000000..90ab57b89
--- /dev/null
+++ b/Tools/fix_code_style_ubuntu.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+astyle \
+ --style=linux \
+ --indent=force-tab=8 \
+ --indent-cases \
+ --indent-preprocessor \
+ --break-blocks=all \
+ --pad-oper \
+ --pad-header \
+ --unpad-paren \
+ --keep-one-line-blocks \
+ --keep-one-line-statements \
+ --align-pointer=name \
+ --suffix=none \
+ --lineend=linux \
+ $*
+ #--ignore-exclude-errors-x \
+ #--exclude=EASTL \
+ #--align-reference=name \