16 lines
285 B
Makefile
16 lines
285 B
Makefile
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
|