From e04081daa0d8c46633c07d613e5d273f7315ea40 Mon Sep 17 00:00:00 2001 From: Sprite Date: Thu, 19 Nov 2026 22:50:18 +0000 Subject: [PATCH] Add justfile for build, run, test, and clean workflows --- justfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..9c48cb0 --- /dev/null +++ b/justfile @@ -0,0 +1,15 @@ +default: + @just --list + +build: + wasm-tools parse curl.wat -o curl.wasm + wasm-tools validate curl.wasm --features component-model + +test: build + python3 tests/test_curl.py + +run *args: build + wasmtime run -S http --dir=. -- ./curl.wasm {{args}} + +clean: + rm -f curl.wasm