calories/run.sh
Knyffen b92483998b Enable running webassembly in the browser
Create two workspaces, one for the server code, and one for browser
code/wasm
2024-08-16 13:05:57 +02:00

8 lines
124 B
Bash
Executable File

#!/usr/bin/env bash
cd browser || exit;
wasm-pack build --target web || exit;
cd ..;
cd server || exit;
cargo run || exit;