mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 15:33:43 +01:00
2894af04dc
* Update Upstream (Craftbukkit) * update log4j
17 lines
534 B
Bash
Executable File
17 lines
534 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
basedir="$(cd "$1" && pwd -P)"
|
|
|
|
cp ./PaperSpigot-Server/target/paperspigot*-SNAPSHOT.jar ./Paperclip/paperspigot-1.8.8.jar
|
|
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"
|
|
cd ..
|
|
cp ./Paperclip/assembly/target/paperclip*.jar ./paperclip.jar
|
|
|
|
echo ""
|
|
echo ""
|
|
echo ""
|
|
echo "Build success!"
|
|
echo "Copied final jar to $(pwd)/paperclip.jar"
|