aboutsummaryrefslogtreecommitdiff
path: root/astyle.sh
blob: 450029051d6416c1998f123b2a1c37aeafbb90b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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