updated makefiles and readme

This commit is contained in:
2020-04-22 18:59:23 -04:00
parent f4e1192748
commit 7c2cde8a1f
3 changed files with 12 additions and 4 deletions

View File

@@ -1,11 +1,8 @@
LATEST := $(shell ls -rt build/spigot*.jar | tail -1)
deploy: build-latest spigot
spigot/spigot.jar: build-latest spigot
cp $(LATEST) spigot/spigot.jar
deploy-1.15.2: build/spigot-1.15.2.jar spigot
cp build/spigot-1.15.2.jar spigot/spigot.jar
build-latest: build-image
docker run -it --rm -v $(WORKING_DIR)/build:/mc -w /mc java-build java -cp /mc \
-jar BuildTools.jar