summaryrefslogtreecommitdiff
path: root/scripts/format-code.sh
diff options
context:
space:
mode:
authorpepper <peppersclothescult@gmail.com>2015-01-10 21:32:32 -0800
committerpepper <peppersclothescult@gmail.com>2015-01-10 21:32:32 -0800
commitd53fa8a169832563c62262078b8d2ffe5cab8473 (patch)
treeb911d06d357d009c976709780f10e92ce915228a /scripts/format-code.sh
first
Diffstat (limited to 'scripts/format-code.sh')
-rwxr-xr-xscripts/format-code.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/format-code.sh b/scripts/format-code.sh
new file mode 100755
index 0000000..606379a
--- /dev/null
+++ b/scripts/format-code.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+astyle --options=./scripts/mrswatson.astyle --recursive "main/*.c" "source/*.c" "source/*.cpp" "source/*.h" "test/*.c" "test/*.h"