feat: inital commit release
Some checks failed
Publish / Build and Release (push) Has been cancelled

This commit is contained in:
Guz
2026-04-05 22:31:39 -03:00
commit aa2c2aad17
90 changed files with 4003 additions and 0 deletions

25
makefile Normal file
View File

@@ -0,0 +1,25 @@
RELEASE_FILE:="SixSides\ Easter\ Eggs\ \($(cat VERSION)\).zip"
generate:
deno --allow-read --allow-write ./.meta/scripts/generate_from_textures.js
release: generate
@echo "Creating release file"
$(MAKE) release/src
release/src: clean
jq --arg version $$(cat VERSION) '.pack.description.with[0].fallback = $$version' ./pack.mcmeta > ./pack.mcmeta.tmp
mv ./pack.mcmeta.tmp ./pack.mcmeta
find ./assets ./data pack.mcmeta -type f -print | zip $(RELEASE_FILE) -@
sync: release
@echo "Syncing files..."
cp $(RELEASE_FILE) $(RESOURCEPACK_FOLDER)
cp $(RELEASE_FILE) $(DATAPACK_FOLDER)
clean:
if [ -f $(RELEASE_FILE) ]; then rm $(RELEASE_FILE); fi
dev:
while true; do $(MAKE) sync || $(MAKE); sleep 0.5; done