feat: resource.pack estil coffee_crisis — Fase 1 (pack + helper + eina pack_resources)

This commit is contained in:
2026-04-16 13:58:39 +02:00
parent 7f26b8dbd0
commit b2d5f5af61
12 changed files with 533 additions and 1 deletions

View File

@@ -76,6 +76,12 @@ debug:
@cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
@cmake --build build
# Empaqueta data/ a resource.pack (format AEE1). Build previ de l'eina + execució.
pack:
@cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
@cmake --build build --target pack_resources
@./build/pack_resources data resource.pack
# ==============================================================================
# RELEASE AUTOMÁTICO (detecta SO)
# ==============================================================================
@@ -273,4 +279,4 @@ _linux_release:
# Elimina la carpeta temporal
$(RMDIR) "$(RELEASE_FOLDER)"
.PHONY: all debug release wasm _windows_release _linux_release _macos_release
.PHONY: all debug pack release wasm _windows_release _linux_release _macos_release