add web-pack target to Makefile

This commit is contained in:
2026-11-22 19:15:29 +03:00
parent 89ca768c48
commit efa08b3f03

View File

@@ -85,6 +85,13 @@ web/index.html: $(WEB_OBJECTS) main.sex shell.html web/libraylib.web.a
web: web/index.html
web-pack: release.zip
release.zip:
mkdir -p web-pack
cp web/index.html web/index.wasm web/index.js web/index.data web-pack
zip release.zip -r web-pack
serve: web
python3 -m http.server -d web 8000