Add Paperclip support

This commit is contained in:
DemonWav 2016-01-26 00:36:28 -06:00
parent ec7bb38953
commit 729e8e3023
5 changed files with 21 additions and 1 deletions

2
.gitignore vendored
View File

@ -43,3 +43,5 @@ PaperSpigot-Server
PaperSpigot-API
Bukkit
CraftBukkit
Paperclip
Paperclip.jar

3
.gitmodules vendored
View File

@ -7,3 +7,6 @@
[submodule "BuildData"]
path = BuildData
url = https://hub.spigotmc.org/stash/scm/spigot/builddata.git
[submodule "Paperclip"]
path = Paperclip
url = https://github.com/PaperSpigot/Paperclip.git

1
Paperclip Submodule

@ -0,0 +1 @@
Subproject commit cf7f7c312ea41d06b57912f7bd9e830cacb64df3

View File

@ -1,3 +1,3 @@
#!/bin/bash
git submodule update --init && ./remap.sh && ./decompile.sh && ./init.sh && ./newApplyPatches.sh && mvn clean install
git submodule update --init && ./remap.sh && ./decompile.sh && ./init.sh && ./newApplyPatches.sh && mvn clean install && ./paperclip.sh

14
paperclip.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
cp ./PaperSpigot-Server/target/paperspigot*.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
cd ..
cp ./Paperclip/target/paperclip*.jar ./Paperclip.jar
echo ""
echo ""
echo ""
echo "Build success!"
echo "Copied final jar to $(pwd)/Paperclip.jar"