3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00
Paper/scripts/upstreamMerge.sh
2016-08-19 16:02:31 -05:00

25 Zeilen
328 B
Bash
Ausführbare Datei

#!/usr/bin/env bash
(
set -e
PS1="$"
basedir="$(cd "$1" && pwd -P)"
workdir="$basedir/work"
function update {
cd "$workdir/$1"
git fetch && git reset --hard origin/master
cd ../
git add $1
}
update Bukkit
update CraftBukkit
update Spigot
if [[ "$2" = "all" ]] ; then
update BuildData
update Paperclip
fi
)