1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-22 01:01:34 +00:00
Files
crates
examples
add
asm.js
char
closures
comments
console_log
dom
hello_world
import_js
julia_set
math
src
.gitignore
Cargo.toml
README.md
build.sh
index.html
index.js
package.json
webpack.config.js
no_modules
performance
smorgasboard
wasm-in-wasm
README.md
guide
releases
src
tests
.appveyor.yml
.eslintignore
.eslintrc
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
package-lock.json
package.json
yarn.lock
wasm-bindgen/examples/math/build.sh

13 lines
334 B
Bash
Raw Normal View History

2018-03-21 10:03:40 -07:00
#!/bin/sh
# For more coments about what's going on here, see the `hello_world` example
set -ex
cargo +nightly build --target wasm32-unknown-unknown
2018-03-29 08:59:08 -07:00
cargo +nightly run --manifest-path ../../crates/cli/Cargo.toml \
2018-03-21 10:03:40 -07:00
--bin wasm-bindgen -- \
../../target/wasm32-unknown-unknown/debug/math.wasm --out-dir .
npm install
npm run serve