set positional-arguments default: @just --list build: wasm-tools parse curl.wat -o curl.wasm wasm-tools validate curl.wasm --features component-model native: build python3 native/build_native.py test: build python3 tests/test_curl.py test-native: native CURL_WASM_NATIVE=./curl-native python3 tests/test_curl.py run *args: build wasmtime run -S http --dir=. -- ./curl.wasm "$@" run-native *args: native ./curl-native "$@" clean: rm -rf curl.wasm curl-native build