11 lines
340 B
Makefile
11 lines
340 B
Makefile
build:
|
|
cargo build
|
|
|
|
build-release:
|
|
cargo build --release
|
|
|
|
build-wasm:
|
|
cargo build --release --target wasm32-unknown-unknown
|
|
wasm-bindgen target/wasm32-unknown-unknown/release/rust-game-1.wasm --out-dir target/rust-flappy-dragon --no-modules --no-typescript
|
|
cp src/index.html target/rust-flappy-dragon
|
|
upload target/rust-flappy-dragon
|