2015-12-30 04:40:32 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-03-25 00:39:20 +00:00
|
|
|
(git submodule update --init && ./remap.sh && ./decompile.sh && ./init.sh && ./applyPatches.sh) || (
|
|
|
|
echo "Failed to build Paper"
|
|
|
|
exit 1
|
|
|
|
) || exit 1
|
2016-03-18 05:46:32 +00:00
|
|
|
if [ "$1" == "--jar" ]; then
|
2016-03-25 00:39:20 +00:00
|
|
|
(mvn clean install && ./paperclip.sh) || exit 1
|
2016-03-18 05:46:32 +00:00
|
|
|
fi
|