15 lines
320 B
Makefile
15 lines
320 B
Makefile
|
run_server:
|
||
|
@echo "[run_server] Starting server..."
|
||
|
|
||
|
build_client_bundle:
|
||
|
rm -rf web/dist
|
||
|
RUST_BACKTRACE=1 wasm-pack build --target web client
|
||
|
cp -r client/pkg web/dist
|
||
|
|
||
|
install_tooling:
|
||
|
cargo install wasm-pack --no-default-features
|
||
|
|
||
|
clean:
|
||
|
rm -rf target
|
||
|
rm -rf client/pkg
|
||
|
rm -rf web/dist
|