2024-08-23 22:55:23 +02:00
|
|
|
port := "8080"
|
2024-08-24 12:53:52 +02:00
|
|
|
profile := "dev"
|
|
|
|
wasm_profile := "wasm-" + profile
|
2024-08-23 22:55:23 +02:00
|
|
|
|
2024-08-24 12:53:52 +02:00
|
|
|
serve: wasm
|
|
|
|
RKGK_PORT={{port}} RKGK_WASM_PATH=target/wasm32-unknown-unknown/{{wasm_profile}} cargo run -p rkgk --profile {{profile}}
|
2024-08-10 23:10:03 +02:00
|
|
|
|
2024-08-24 12:53:52 +02:00
|
|
|
wasm:
|
|
|
|
cargo build -p haku-wasm --target wasm32-unknown-unknown --profile {{wasm_profile}}
|
2024-08-23 22:55:23 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
bash admin/deploy.bash
|