rust-dungeoncrawl/makefile

12 lines
346 B
Makefile
Raw Normal View History

2022-05-25 10:02:34 -05:00
build: ; cargo build
build-release: ; cargo build --release
build-wasm:
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/release/dungeoncrawl.wasm --out-dir target/dungeoncrawl --no-modules --no-typescript
cp src/index.html target/dungeoncrawl
upload target/dungeoncrawl
format: ; cargo fmt