Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Paper-Old/paperclip.sh

20 Zeilen
540 B
Bash

2016-01-26 07:36:28 +01:00
#!/usr/bin/env bash
2016-03-31 02:50:23 +02:00
basedir=`pwd`
workdir=$basedir/work
mcver=$(cat BuildData/info.json | grep minecraftVersion | cut -d '"' -f 4)
decompiledir="$workdir/$mcver"
paperjar="$basedir/$(ls ./Paper-Server/target/paper*-SNAPSHOT.jar)"
vanillajar="${decompiledir}/${mcver}.jar"
2016-01-26 07:36:28 +01:00
cd ./Paperclip
2016-03-31 02:50:23 +02:00
mvn clean package -Dmcver=${mcver} -Dpaperjar="${paperjar}" -Dvanillajar="${vanillajar}"
2016-01-26 07:36:28 +01:00
cd ..
2016-03-31 02:53:39 +02:00
cp ./Paperclip/target/paperclip-${mcver}.jar ./paperclip.jar
2016-01-26 07:36:28 +01:00
echo ""
echo ""
echo ""
echo "Build success!"
2016-03-31 02:53:39 +02:00
echo "Copied final jar to $(pwd)/paperclip.jar"