.PHONY: all build test clean

all: build

build: curl.wasm

curl.wasm: curl.wat
	wasm-tools parse curl.wat -o curl.wasm
	wasm-tools validate curl.wasm --features component-model

test: build
	python3 tests/test_curl.py

clean:
	rm -f curl.wasm
