add web-pack target to Makefile
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user