rust-flappy-dragon/makefile
2021-11-12 12:04:27 -06:00

12 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