diff options
Diffstat (limited to 'webhogg/wasm/build')
-rwxr-xr-x | webhogg/wasm/build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webhogg/wasm/build b/webhogg/wasm/build index a0c4df1..e14f004 100755 --- a/webhogg/wasm/build +++ b/webhogg/wasm/build @@ -1,5 +1,7 @@ #!/bin/bash cargo build --target wasm32-unknown-unknown --release -wasm-bindgen target/wasm32-unknown-unknown/release/webhogg-wasm.wasm --out-dir bin/ --no-typescript --target no-modules --remove-producers-section --remove-name-section -wasm-opt -Oz bin/*.wasm -o bin/*.wasm +wasm-bindgen target/wasm32-unknown-unknown/release/webhogg_wasm.wasm --out-dir bin/ --no-typescript --target no-modules --remove-producers-section --remove-name-section +wasm-opt -Oz bin/webhogg_wasm_bg.wasm -o bin/webhogg-wasm.wasm +rm bin/webhogg_wasm_bg.wasm +mv bin/webhogg_wasm.js bin/webhogg-wasm.js |