update Makefile
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,11 +1,9 @@
|
||||
WORKING_DIR := $(shell pwd)
|
||||
.PHONY: deploy deploy-1.15.2 test up down
|
||||
|
||||
deploy: spigot/spigot.jar
|
||||
|
||||
deploy-1.15.2: build/spigot-1.15.2.jar spigot
|
||||
cp build/spigot-1.15.2.jar spigot/spigot.jar
|
||||
rev?=1.19.3
|
||||
.PHONY: deploy test up down
|
||||
|
||||
deploy:
|
||||
cp build/spigot-$(rev).jar spigot/spigot.jar
|
||||
|
||||
test:
|
||||
docker run -it --name mc-test -p 25565:25565 --rm -v $(WORKING_DIR)/spigot:/mc \
|
||||
|
||||
Reference in New Issue
Block a user