jotdown/examples/jotdown_wasm/Makefile
2023-02-05 20:41:59 +01:00

15 lines
218 B
Makefile

WASM=pkg/jotdown_wasm_bg.wasm
SRC=$(shell find src ../../src -name '*.rs')
${WASM}: ${SRC}
wasm-pack build --release --target web
wasm: ${WASM}
run: ${WASM}
python -m http.server
clean:
rm -rf pkg
cargo clean