summaryrefslogtreecommitdiffstats
path: root/astyle/beautify_source_tree
diff options
context:
space:
mode:
Diffstat (limited to 'astyle/beautify_source_tree')
-rwxr-xr-xastyle/beautify_source_tree29
1 files changed, 0 insertions, 29 deletions
diff --git a/astyle/beautify_source_tree b/astyle/beautify_source_tree
deleted file mode 100755
index 0628a8e..0000000
--- a/astyle/beautify_source_tree
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-if [[ $1 == "" ]]; then
- echo "Please specify the source directory to beautify"
- exit 1
-fi
-
-ASTYLEARGS=$( cat <<EOF
---indent=tab \
---indent-classes \
---indent-switches \
---indent-cases \
---indent-namespaces \
---indent-labels \
---indent-col1-comments \
- \
---unpad-paren \
- \
---style=java \
---add-brackets \
---break-closing-brackets \
---keep-one-line-statements
-EOF
-)
-
-astyle $ASTYLEARGS --recursive $1/*.c || true
-astyle $ASTYLEARGS --recursive $1/*.cc || true
-astyle $ASTYLEARGS --recursive $1/*.cpp || true
-astyle $ASTYLEARGS --recursive $1/*.h || true