~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zttp

mirror of https://tangled.org/zat.dev/zttp

0
0
main
33 lines · 885 B Raw History
# zttp

# show available commands
default:
    @just --list

# format code
fmt:
    zig fmt build.zig build.zig.zon src scripts examples tests/conformance

# check formatting (CI)
check:
    zig fmt --check build.zig build.zig.zon src scripts examples tests/conformance

# run tests
test:
    zig build test --summary all -freference-trace

# hit real origins: tls, gzip, redirects, a blackholed peer
smoke:
    zig build smoke

# real local TLS certificate rotation and concurrent requests
test-tls:
    python3 scripts/test_tls_clock.py

# prepare the isolated qualification toolchain
conformance-tools:
    docker build -f tests/conformance/Dockerfile -t zttp-conformance-tools:0.17.0 .

# strict HTTP wire and runtime contracts; no external network during tests
conformance *args:
    uv run --no-project --python python3 --no-python-downloads scripts/test_conformance.py {{args}}