rust-flappy-dragon/makefile

12 lines
363 B
Makefile
Raw Permalink Normal View History

2021-11-15 13:15:46 -06:00
build: ; cargo build
2021-11-12 12:04:27 -06:00
2021-11-15 13:15:46 -06:00
build-release: ; cargo build --release
2021-11-12 12:04:27 -06:00
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
2021-11-15 13:15:46 -06:00
format: ; cargo fmt