Format makefile

This commit is contained in:
Daniel Flanagan 2021-11-15 13:15:46 -06:00
parent 77a12e1c9f
commit f1826cdfd3
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -1,11 +1,11 @@
build: build: ; cargo build
cargo build
build-release: build-release: ; cargo build --release
cargo build --release
build-wasm: build-wasm:
cargo build --release --target wasm32-unknown-unknown 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 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 cp src/index.html target/rust-flappy-dragon
upload target/rust-flappy-dragon upload target/rust-flappy-dragon
format: ; cargo fmt