Ship a working HexPigeon: typed binary parsing in Rust/WASM, a three-pane frontend, and unit tests covering the field types. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
403 B
Makefile
21 lines
403 B
Makefile
.PHONY: wasm frontend dev build test clean
|
|
|
|
wasm:
|
|
cd parser-wasm && wasm-pack build --target web --out-dir ../frontend/src/wasm
|
|
|
|
frontend:
|
|
cd frontend && npm install
|
|
|
|
dev: wasm frontend
|
|
cd frontend && npm run dev
|
|
|
|
build: wasm
|
|
cd frontend && npm run build
|
|
|
|
test:
|
|
cd parser-wasm && cargo test
|
|
cd frontend && npm install && npm test
|
|
|
|
clean:
|
|
rm -rf frontend/src/wasm frontend/dist parser-wasm/target
|