Add WASM parser and Vue dissector UI.
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>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
.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
|
||||
Reference in New Issue
Block a user