summaryrefslogtreecommitdiff
path: root/openEMS/astyle.sh
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-07-05 18:02:38 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2016-07-05 18:02:38 +0200
commitef962f6008f25ab7cbd4ca21bcc72b97a1e2d76f (patch)
tree8149bee93d1a3f91d4503bfb3853adac4af0a85e /openEMS/astyle.sh
Imported Upstream version 0.0.34
Diffstat (limited to 'openEMS/astyle.sh')
-rwxr-xr-xopenEMS/astyle.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/openEMS/astyle.sh b/openEMS/astyle.sh
new file mode 100755
index 0000000..2c8bd41
--- /dev/null
+++ b/openEMS/astyle.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+find . -type f -name \*.cpp -exec astyle --style=allman --indent=tab --indent-cases {} \;
+find . -type f -name \*.h -exec astyle --style=allman --indent=tab --keep-one-line-blocks --indent-cases {} \;