Make Spigot its own submodule

Merge pull request #118 from Techcable/spigot-in-submodule
This commit is contained in:
Techcable
2016-03-21 12:22:47 -05:00
parent 044d463764
commit 291d1f7d21
183 changed files with 26 additions and 17849 deletions

View File

@@ -26,16 +26,16 @@ function cleanupPatches {
function savePatches {
what=$1
what_name=$(basename $what)
target=$2
echo "Formatting patches for $what..."
cd "$basedir/$target"
rm -rf "$basedir/${what}-Patches/"
git format-patch --no-stat -N -o "$basedir/${what}-Patches/" upstream/upstream >/dev/null
git format-patch --no-stat -N -o "$basedir/${what_name}-Patches/" upstream/upstream >/dev/null
cd "$basedir"
git add -A "$basedir/${what}-Patches"
cleanupPatches "$basedir/${what}-Patches"
echo " Patches saved for $what to $what-Patches/"
git add -A "$basedir/${what_name}-Patches"
cleanupPatches "$basedir/${what_name}-Patches"
echo " Patches saved for $what to $what_name-Patches/"
}
savePatches Spigot-API Paper-API
savePatches Spigot-Server Paper-Server
savePatches Spigot/Spigot-API Paper-API
savePatches Spigot/Spigot-Server Paper-Server