make it possible to override wasm directory from wasm-dev during build
This commit is contained in:
parent
c9859124c3
commit
03412722d8
2 changed files with 6 additions and 2 deletions
2
Justfile
2
Justfile
|
|
@ -1,7 +1,7 @@
|
|||
port := "8080"
|
||||
|
||||
serve wasm_profile="wasm-dev": (wasm wasm_profile)
|
||||
RKGK_PORT={{port}} cargo run -p rkgk
|
||||
RKGK_PORT={{port}} RKGK_WASM_PATH=target/wasm32-unknown-unknown/{{wasm_profile}} cargo run -p rkgk
|
||||
|
||||
wasm profile="wasm-dev":
|
||||
cargo build -p haku-wasm --target wasm32-unknown-unknown --profile {{profile}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue