diff options
author | hop311 <hop3114@gmail.com> | 2023-10-28 11:40:07 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-11-07 23:02:34 +0100 |
commit | 9304fd4e109c27a7dfb487a15c9a52c4055ee485 (patch) | |
tree | 01e3782174afc029310b87a1eb04f834267407ea /astyle.sh | |
parent | d113649c115b687a30a2040161d8570907c9141b (diff) |
Astyle formatting (with manual cleanup)
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 |