mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
16 lines
230 B
Bash
Executable file
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
|