mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
skip jar creation on build unless --jar specified
This commit is contained in:
parent
0316152120
commit
223cb8b0e1
2 changed files with 7 additions and 2 deletions
|
@ -22,7 +22,9 @@ How To (Compiling From Source)
|
||||||
------
|
------
|
||||||
To compile PaperSpigot, you need JDK 8, maven, and an internet connection.
|
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:
|
Special Thanks To:
|
||||||
-------------
|
-------------
|
||||||
|
|
5
build.sh
5
build.sh
|
@ -1,3 +1,6 @@
|
||||||
#!/bin/bash
|
#!/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
|
||||||
|
|
Loading…
Reference in a new issue