aboutsummaryrefslogtreecommitdiff
path: root/astyle.sh
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-11-08 22:23:39 +0100
committer GitHub <noreply@github.com>2023-11-08 22:23:39 +0100
commitf8da0860795d273452501fa4d7fbfcc40073a884 (patch)
tree556707348d57b81f91627bb8fda5989a305c0d21 /astyle.sh
parent57822949341b86649614b343afa2c740efe00ac2 (diff)
parent47fff276966d42cba6a2df9093348a5e20a37159 (diff)
Merge pull request #162 from OpenVicProject/changes
Lots of Changes
Diffstat (limited to 'astyle.sh')
-rw-r--r--astyle.sh13
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