Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
12 Zeilen
362 B
Bash
12 Zeilen
362 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
basedir="$1"
|
||
|
|
||
|
(git submodule update --init && ./scripts/remap.sh "$basedir" && ./scripts/decompile.sh "$basedir" && ./scripts/init.sh "$basedir" && ./scripts/applyPatches.sh "$basedir") || (
|
||
|
echo "Failed to build Paper"
|
||
|
exit 1
|
||
|
) || exit 1
|
||
|
if [ "$2" == "--jar" ]; then
|
||
|
(mvn clean install && ./scripts/paperclip.sh "$basedir") || exit 1
|
||
|
fi
|