From 4619c60eac63c87cb64cbfa2d919d08875fbb2c3 Mon Sep 17 00:00:00 2001 From: Aikar Date: Fri, 18 Mar 2016 01:46:32 -0400 Subject: [PATCH] skip jar creation on build unless --jar specified --- README.md | 4 +++- build.sh | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fef1799c53..40e47f23ca 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,9 @@ How To (Compiling From Source) ------ To compile PaperSpigot, you need JDK 8, maven, and an internet connection. -Clone this repo, run ./build.sh from *bash*, get files. +Clone this repo, run ./build.sh --jar from *bash*, get files. + +Leave off --jar if you only wish to resync your checkout and not create a paperclip jar file just yet. Special Thanks To: ------------- diff --git a/build.sh b/build.sh index 99e88a2036..b38c0f94d0 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,6 @@ #!/bin/bash -git submodule update --init && ./remap.sh && ./decompile.sh && ./init.sh && ./applyPatches.sh && mvn clean install && ./paperclip.sh +#git submodule update --init && ./remap.sh && ./decompile.sh && ./init.sh && ./applyPatches.sh +if [ "$1" == "--jar" ]; then + mvn clean install && ./paperclip.sh +fi