summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-10-10 05:18:17 -0400
committerMadCamel <madcamel@gmail.com>2010-10-10 05:18:17 -0400
commit7bfe4fe66e6549f309e0f6f0b04856aa84aebb6d (patch)
treef42393ddf640e04334e14248c70afc07d7bdcbfb /src
parent5223c5d8848933239a5aee50d9dd8879e00caa46 (diff)
downloadtmwa-7bfe4fe66e6549f309e0f6f0b04856aa84aebb6d.tar.gz
tmwa-7bfe4fe66e6549f309e0f6f0b04856aa84aebb6d.tar.bz2
tmwa-7bfe4fe66e6549f309e0f6f0b04856aa84aebb6d.tar.xz
tmwa-7bfe4fe66e6549f309e0f6f0b04856aa84aebb6d.zip
Added indent.sh script to help keep code formatted to standards.
You should probably run indent.sh on any file you edit before committing to git.
Diffstat (limited to 'src')
-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 $*
+
+