Waterfall/scripts/build.sh

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