[SCRIPT] Fix the build.sh script.

* Add the execution write over build.sh script.
* Apply the command dos2unix over build.sh script to be able to launch it.
master
frozar 6 years ago committed by David O'Connor
parent 123dddc2f7
commit 61f5fa481d

@ -1,6 +1,6 @@
#!/usr/bin/env bash
cargo build --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/debug/appname.wasm --no-modules --out-dir ./pkg --out-name package
#cargo build --target wasm32-unknown-unknown --release
#!/usr/bin/env bash
cargo build --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/debug/appname.wasm --no-modules --out-dir ./pkg --out-name package
#cargo build --target wasm32-unknown-unknown --release
#wasm-bindgen target/wasm32-unknown-unknown/release/appname.wasm --no-modules --out-dir ./pkg --out-name package
Loading…
Cancel
Save