papermc/scripts/upstreamMerge.sh

17 lines
242 B
Bash
Raw Normal View History

2016-04-02 03:55:54 +00:00
#!/usr/bin/env bash
PS1="$"
basedir=$(realpath "$1")
2016-04-02 03:55:54 +00:00
workdir="$basedir/work"
function update {
2016-04-02 03:55:54 +00:00
cd "$workdir/$1"
git fetch && git reset --hard origin/master
cd ../
git add $1
}
update Bukkit
update CraftBukkit
update Spigot