Fix Makefile to build WASM examples.
- Add --preload-file flag before specifying the resource dir - Add empty resource dir to `shapes/` (otherwise wasm-ld will fail) - Add wasm outputs to .gitigore
This commit is contained in:
parent
7ca9131fd4
commit
4877aa9723
1 changed files with 7 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -58,6 +58,12 @@ packages/
|
|||
*.bc
|
||||
*.so
|
||||
|
||||
# Ignore wasm data in examples/
|
||||
examples/**/*.wasm
|
||||
examples/**/*.data
|
||||
examples/**/*.js
|
||||
examples/**/*.html
|
||||
|
||||
# Ignore files build by xcode
|
||||
*.mode*v*
|
||||
*.pbxuser
|
||||
|
|
|
|||
Loading…
Reference in a new issue