summaryrefslogtreecommitdiffstats
path: root/format.sh
diff options
context:
space:
mode:
authorjjl2010-11-03 08:32:14 +0100
committerjjl2010-11-03 08:32:14 +0100
commit0fba6982ac0e8285ce826dd5028f23a72dc58c5b (patch)
tree78523dceda090bd9d7d1118ca37526ef7722ac6d /format.sh
parentCleanup (diff)
downloadpvs-0fba6982ac0e8285ce826dd5028f23a72dc58c5b.tar.gz
pvs-0fba6982ac0e8285ce826dd5028f23a72dc58c5b.tar.xz
pvs-0fba6982ac0e8285ce826dd5028f23a72dc58c5b.zip
Cleanup
Diffstat (limited to 'format.sh')
-rwxr-xr-xformat.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/format.sh b/format.sh
deleted file mode 100755
index d2a218f..0000000
--- a/format.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-echo "Do not use, it sucks..."
-exit
-# Note: As astyle seems to change the way of indenting things in detail in every release,
-# it makes no sense to use this frequently, cause it would require everyone to use the
-# same version of astyle, otherwise you get lots of modified files on every commit :(
-
-FILES=`find src/ -name \*.cpp && find src/ -name \*.h`
-
-# option -j would add { } to every if-statement, but not supported in <1.24
-for i in $FILES; do
- astyle --style=ansi -A1 $i
-done