mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Add Paperclip support
This commit is contained in:
parent
92d56450d4
commit
ea61fac2ed
5 changed files with 21 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -43,3 +43,5 @@ PaperSpigot-Server
|
||||||
PaperSpigot-API
|
PaperSpigot-API
|
||||||
Bukkit
|
Bukkit
|
||||||
CraftBukkit
|
CraftBukkit
|
||||||
|
Paperclip
|
||||||
|
Paperclip.jar
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,3 +7,6 @@
|
||||||
[submodule "BuildData"]
|
[submodule "BuildData"]
|
||||||
path = BuildData
|
path = BuildData
|
||||||
url = https://hub.spigotmc.org/stash/scm/spigot/builddata.git
|
url = https://hub.spigotmc.org/stash/scm/spigot/builddata.git
|
||||||
|
[submodule "Paperclip"]
|
||||||
|
path = Paperclip
|
||||||
|
url = https://github.com/PaperSpigot/Paperclip.git
|
||||||
|
|
1
Paperclip
Submodule
1
Paperclip
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cf7f7c312ea41d06b57912f7bd9e830cacb64df3
|
2
build.sh
2
build.sh
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/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
14
paperclip.sh
Executable 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"
|
Loading…
Reference in a new issue