3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 11:00:06 +01:00
Paper/scripts/upstreamMerge.sh

25 Zeilen
342 B
Bash

2016-04-02 05:55:54 +02:00
#!/usr/bin/env bash
(
set -e
PS1="$"
basedir="$(cd "$1" && pwd -P)"
2016-04-02 05:55:54 +02:00
workdir="$basedir/work"
function update {
2016-04-02 05:55:54 +02:00
cd "$workdir/$1"
git fetch && git reset --hard origin/master
cd ../
git add $1
}
update Bukkit
update CraftBukkit
update Spigot
2016-08-19 23:00:59 +02:00
2017-05-21 06:41:39 +02:00
if [[ "$2" = "all" || "$2" = "a" ]] ; then
2016-08-19 23:00:59 +02:00
update BuildData
update Paperclip
fi
)