summaryrefslogtreecommitdiff
path: root/src/tool
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool')
-rwxr-xr-xsrc/tool/indent.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tool/indent.sh b/src/tool/indent.sh
new file mode 100755
index 0000000..5550362
--- /dev/null
+++ b/src/tool/indent.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Simple script to help format code to TMW-eA standards.
+# You should use this on any file you edit before
+# committing to git.
+indent -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 \
+-nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl gui $*
+
+