mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
9 lines
245 B
Bash
Executable file
9 lines
245 B
Bash
Executable file
#!/bin/bash
|
|
|
|
(git submodule update --init && ./remap.sh && ./decompile.sh && ./init.sh && ./applyPatches.sh) || (
|
|
echo "Failed to build Paper"
|
|
exit 1
|
|
) || exit 1
|
|
if [ "$1" == "--jar" ]; then
|
|
(mvn clean install && ./paperclip.sh) || exit 1
|
|
fi
|