mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-09 06:50:32 +08:00
skip jar creation on build unless --jar specified
This commit is contained in:
parent
98b86017fa
commit
4619c60eac
@ -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 New Issue
Block a user