geforkt von Mirrors/Paper
Add clean command and fix critical script issue
Dieser Commit ist enthalten in:
Ursprung
6e9bfd7ac6
Commit
f29c81c414
6
paper
6
paper
@ -89,6 +89,12 @@ case "$1" in
|
|||||||
"s" | "server")
|
"s" | "server")
|
||||||
cd "$basedir/Paper-Server"
|
cd "$basedir/Paper-Server"
|
||||||
;;
|
;;
|
||||||
|
"c" | "clean")
|
||||||
|
rm -rf Paper-API
|
||||||
|
rm -rf Paper-Server
|
||||||
|
rm -rf work
|
||||||
|
echo "Cleaned build files"
|
||||||
|
;;
|
||||||
"e" | "edit")
|
"e" | "edit")
|
||||||
case "$2" in
|
case "$2" in
|
||||||
"s" | "server")
|
"s" | "server")
|
||||||
|
@ -27,7 +27,7 @@ fi
|
|||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
alias md5sum='md5 -r'
|
alias md5sum='md5 -r'
|
||||||
echo "Using an alias for md5sum on OS X"
|
echo "Using an alias for md5sum on macOS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
checksum=$(md5sum "$jarpath.jar" | cut -d ' ' -f 1)
|
checksum=$(md5sum "$jarpath.jar" | cut -d ' ' -f 1)
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren