From 142fc0d3c501c47d2fc1ceb2bf82d05032e1e3c5 Mon Sep 17 00:00:00 2001 From: DemonWav Date: Thu, 28 Sep 2017 17:52:05 -0500 Subject: [PATCH] Add clean command and fix critical script issue --- paper | 6 ++++++ scripts/remap.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/paper b/paper index d453a6f8e..ba3a59c10 100755 --- a/paper +++ b/paper @@ -89,6 +89,12 @@ case "$1" in "s" | "server") cd "$basedir/Paper-Server" ;; + "c" | "clean") + rm -rf Paper-API + rm -rf Paper-Server + rm -rf work + echo "Cleaned build files" + ;; "e" | "edit") case "$2" in "s" | "server") diff --git a/scripts/remap.sh b/scripts/remap.sh index 26888cf5b..04f48187c 100755 --- a/scripts/remap.sh +++ b/scripts/remap.sh @@ -27,7 +27,7 @@ fi if [[ "$OSTYPE" == "darwin"* ]]; then shopt -s expand_aliases alias md5sum='md5 -r' - echo "Using an alias for md5sum on OS X" + echo "Using an alias for md5sum on macOS" fi checksum=$(md5sum "$jarpath.jar" | cut -d ' ' -f 1)