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