~starkingdoms/starkingdoms

ref: 5c97ea362efb1fd079466bfaae1ed07be603b783 starkingdoms/justfile -rw-r--r-- 323 bytes
5c97ea36 — core hell is over! 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
run_server: build_client_bundle
    cargo run --bin 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