Format makefile
This commit is contained in:
parent
77a12e1c9f
commit
f1826cdfd3
8
makefile
8
makefile
|
@ -1,11 +1,11 @@
|
|||
build:
|
||||
cargo build
|
||||
build: ; cargo build
|
||||
|
||||
build-release:
|
||||
cargo build --release
|
||||
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
|
||||
|
||||
format: ; cargo fmt
|
||||
|
|
Loading…
Reference in a new issue