mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-15 07:01:36 +08:00
17 lines
203 B
Bash
Executable File
17 lines
203 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PS1="$"
|
|
basedir=`pwd`
|
|
|
|
function update {
|
|
cd "$basedir/$1"
|
|
git fetch && git reset --hard origin/master
|
|
cd ../
|
|
git add $1
|
|
}
|
|
|
|
update Bukkit
|
|
update CraftBukkit
|
|
update Paperclip
|
|
|