[Bleeding] TEST
This commit is contained in:
@@ -11,15 +11,12 @@ if [ "$2" == "--setup" ] || [ "$3" == "--setup" ] || [ "$4" == "--setup" ]; then
|
|||||||
echo "[Akarin] Setup Paper.."
|
echo "[Akarin] Setup Paper.."
|
||||||
(
|
(
|
||||||
if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then
|
if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then
|
||||||
if [ -d "Minecraft" ]; then
|
|
||||||
rm Minecraft/ -r
|
|
||||||
fi
|
|
||||||
cd "$paperworkdir"
|
cd "$paperworkdir"
|
||||||
git clone https://github.com/Akarin-project/Minecraft.git
|
git clone https://github.com/Akarin-project/Minecraft.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$paperbasedir"
|
cd "$paperbasedir"
|
||||||
./paper jar
|
./paper patch
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
basedir="$pwd"
|
basedir="$pwd"
|
||||||
|
|
||||||
(git submodule update --init --remote && chmod +x scripts/build.sh && ./scripts/build.sh "$basedir" "$1" "$2") || (
|
(git submodule update --init --remote && chmod +x scripts/build.sh && ./scripts/build.sh "$basedir" "$1" "$2" "$3") || (
|
||||||
echo "Failed to build Akarin"
|
echo "Failed to build Akarin"
|
||||||
exit 1
|
exit 1
|
||||||
) || exit 1
|
) || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user