add make test, fix recipe errors due to 1.21.3 change to recipes

This commit is contained in:
Arthur Lu
2025-02-11 00:38:03 +00:00
parent 375ca107f5
commit 90899ef9ba
120 changed files with 1876 additions and 2109 deletions

View File

@@ -4,8 +4,16 @@ export DIST
build: src
clean: src
rm -r test/*
src:
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all src
dev-init: # ubuntu only
apt install -y python3 openjdk-21-jre-headless
test:
cp dist/* test/world/datapacks/
cd test && java -Xmx1024M -Xms1024M -jar server.jar nogui
.PHONY: all src test