2016-01-26 07:36:28 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-12-20 01:10:08 +01:00
|
|
|
basedir="$(cd "$1" && pwd -P)"
|
|
|
|
|
2016-02-05 10:58:20 +01:00
|
|
|
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
|
2021-12-20 01:10:08 +01:00
|
|
|
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 ..
|
2021-12-20 01:10:08 +01:00
|
|
|
cp ./Paperclip/assembly/target/paperclip*.jar ./paperclip.jar
|
2016-01-26 07:36:28 +01:00
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "Build success!"
|
2021-12-20 01:10:08 +01:00
|
|
|
echo "Copied final jar to $(pwd)/paperclip.jar"
|