PaperMC/scripts/upstreamMerge.sh
2016-04-01 22:55:54 -05:00

16 lines
230 B
Bash
Executable file

#!/usr/bin/env bash
PS1="$"
basedir="$1"
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