#broken haku2: progress on making it work

This commit is contained in:
りき萌 2025-06-11 16:42:32 +02:00
parent 7658e0d4e8
commit c5e2892def
7 changed files with 187 additions and 130 deletions

View file

@ -1,9 +1,10 @@
port := "8080"
profile := "dev"
wasm_profile := "wasm-" + profile
log := ""
serve: wasm
RKGK_PORT={{port}} RKGK_WASM_PATH=target/wasm32-unknown-unknown/{{wasm_profile}} cargo run -p rkgk --profile {{profile}}
RKGK_PORT={{port}} RKGK_WASM_PATH=target/wasm32-unknown-unknown/{{wasm_profile}} RUST_LOG={{log}} cargo run -p rkgk --profile {{profile}}
wasm:
cargo build -p haku-wasm --target wasm32-unknown-unknown --profile {{wasm_profile}}