summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/beautify.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/beautify.sh b/scripts/beautify.sh
new file mode 100755
index 0000000..5cb47f2
--- /dev/null
+++ b/scripts/beautify.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# run astyle on all source files
+for f in `find src -name "*.cpp" -o -name "*.h"`; do
+ astyle --options=./.astylerc $f
+done;
+