mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 10:35:38 +01:00
Add Paperclip support
This commit is contained in:
parent
ec7bb38953
commit
729e8e3023
2
.gitignore
vendored
2
.gitignore
vendored
@ -43,3 +43,5 @@ PaperSpigot-Server
|
||||
PaperSpigot-API
|
||||
Bukkit
|
||||
CraftBukkit
|
||||
Paperclip
|
||||
Paperclip.jar
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
1
Paperclip
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit cf7f7c312ea41d06b57912f7bd9e830cacb64df3
|
2
build.sh
2
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
|
||||
|
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 New Issue
Block a user