Made the wasm build work again
[bug-basher.git] / Makefile
1 all: build
2
3 build-web:
4         cargo +nightly build --target=wasm32-unknown-unknown --release
5         cp target/wasm32-unknown-unknown/release/bug_basher.wasm html/gate_app.wasm
6         cp lib_js/* html/
7
8 build-desktop:
9         cargo build --release
10
11 build: build-desktop build-web
12
13 test:
14         cargo test --release
15
16 clean:
17         cargo clean
18         rm -r html/
19
20
21 .PHONY: all build-web build-desktop build test clean