mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-11-14 22:35:38 +01:00
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
This commit is contained in:
parent
7bf23525e2
commit
85f0a0c69a
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
git submodule update --init && ./scripts/applyPatches.sh
|
||||
git submodule update --init && ./scripts/applyPatches.sh || exit 1
|
||||
|
||||
if [ "$1" == "--jar" ]; then
|
||||
mvn clean package
|
||||
|
10
waterfall
10
waterfall
@ -2,19 +2,19 @@
|
||||
|
||||
case "$1" in
|
||||
"rb" | "rbp" | "rebuild")
|
||||
scripts/rebuildPatches.sh
|
||||
scripts/rebuildPatches.sh || exit 1
|
||||
;;
|
||||
"p" | "patch")
|
||||
scripts/build.sh
|
||||
scripts/build.sh || exit 1
|
||||
;;
|
||||
"m" | "up" | "merge")
|
||||
scripts/mergeUpstream.sh
|
||||
scripts/mergeUpstream.sh || exit 1
|
||||
;;
|
||||
"b" | "build")
|
||||
scripts/build.sh --jar
|
||||
scripts/build.sh --jar || exit 1
|
||||
;;
|
||||
"e" | "edit")
|
||||
scripts/edit.sh
|
||||
scripts/edit.sh || exit 1
|
||||
;;
|
||||
*)
|
||||
echo "WaterfallMC build tool command. This provides a variety of commands to control the WaterfallMC"
|
||||
|
Loading…
Reference in New Issue
Block a user