diff options
Diffstat (limited to 'astyle.sh')
-rw-r--r-- | astyle.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/astyle.sh b/astyle.sh new file mode 100644 index 0000000..4500290 --- /dev/null +++ b/astyle.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +echo "\n\nFormatting openvic-extension with astyle:\n" +astyle --options=.astylesrc --recursive ./extension/src/*.?pp + +if [ -d ./extension/deps/openvic-simulation ]; then + cd ./extension/deps/openvic-simulation + if [ -f ./astyle.sh ]; then + ./astyle.sh + fi +fi + +exit 0 |