aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDemonWav <[email protected]>2016-01-26 00:36:28 -0600
committerDemonWav <[email protected]>2016-01-26 00:36:28 -0600
commit729e8e30231939fe684f3afff8b374a5c9948c0d (patch)
treeea0064ba82dd52490fb9b5f640b6145a71bc2212
parentec7bb38953f307aa88259e56ab93f4d160886fa0 (diff)
downloadPaper-729e8e30231939fe684f3afff8b374a5c9948c0d.tar.gz
Paper-729e8e30231939fe684f3afff8b374a5c9948c0d.zip
Add Paperclip support
-rw-r--r--.gitignore2
-rw-r--r--.gitmodules3
m---------Paperclip0
-rwxr-xr-xbuild.sh2
-rwxr-xr-xpaperclip.sh14
5 files changed, 20 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 41c5b3cdc0..f61f6b333c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,3 +43,5 @@ PaperSpigot-Server
PaperSpigot-API
Bukkit
CraftBukkit
+Paperclip
+Paperclip.jar \ No newline at end of file
diff --git a/.gitmodules b/.gitmodules
index 4fbc64d512..42c147acb1 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -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
diff --git a/Paperclip b/Paperclip
new file mode 160000
+Subproject cf7f7c312ea41d06b57912f7bd9e830cacb64df
diff --git a/build.sh b/build.sh
index d138a58891..a658f39d99 100755
--- a/build.sh
+++ b/build.sh
@@ -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
diff --git a/paperclip.sh b/paperclip.sh
new file mode 100755
index 0000000000..5cf1433467
--- /dev/null
+++ b/paperclip.sh
@@ -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" \ No newline at end of file