PaperSpigot-Parent/paperclip.sh

17 lines
534 B
Bash
Raw Normal View History

2016-01-26 07:36:28 +01:00
#!/usr/bin/env bash
basedir="$(cd "$1" && pwd -P)"
cp ./PaperSpigot-Server/target/paperspigot*-SNAPSHOT.jar ./Paperclip/paperspigot-1.8.8.jar
2016-01-26 07:36:28 +01:00
cp ./work/1.8.8/1.8.8.jar ./Paperclip/minecraft_server.1.8.8.jar
cd ./Paperclip
mvn clean package -Dmcver=1.8.8 "-Dpaperjar=$basedir/Paperclip/paperspigot-1.8.8.jar" "-Dvanillajar=$basedir/Paperclip/minecraft_server.1.8.8.jar"
2016-01-26 07:36:28 +01:00
cd ..
cp ./Paperclip/assembly/target/paperclip*.jar ./paperclip.jar
2016-01-26 07:36:28 +01:00
echo ""
echo ""
echo ""
echo "Build success!"
echo "Copied final jar to $(pwd)/paperclip.jar"