Waterfall/scripts/build.sh
Shane Freeder 85f0a0c69a Capture some script failure states better
Ensures that failures of primarily applying patches during builds
should be passed up, this will need a better look over at some point
2020-11-09 01:35:40 +00:00

8 lines
144 B
Bash
Executable File

#!/usr/bin/env bash
git submodule update --init && ./scripts/applyPatches.sh || exit 1
if [ "$1" == "--jar" ]; then
mvn clean package
fi