Generate the browser contract from ProductApi

This commit is contained in:
ms2k 2026-07-20 03:20:08 +09:00
commit c9642f4067

View file

@ -1,4 +1,4 @@
.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-auth check-app check-app-boundaries check-streaming check-idempotency check-recovery check-model-correspondence check-protocol check-product check-runtime check-v1 check-specs app-up app-down test-frontend check-frontend build-frontend
.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-auth check-app check-app-boundaries check-streaming check-idempotency check-recovery check-model-correspondence check-protocol check-product check-runtime check-v1 check-specs check-web-contract generate-web-contract app-up app-down test-frontend check-frontend build-frontend
test:
./tests/run-host-tests.sh
@ -39,9 +39,15 @@ check-model-correspondence:
check-protocol: check-model-correspondence
./tests/kind/protocol-conformance-run.sh
check-product: test-frontend check-frontend build-frontend
check-product: test-frontend check-frontend build-frontend check-web-contract
./tests/kind/product-run.sh
check-web-contract:
./tests/web-contract.sh
generate-web-contract:
cabal run nuthatch-generate-web-contract --offline -- web/src/generated/contract.ts web/test/fixtures/contract.json
check-runtime: test check-recovery
./tests/runtime-static.sh
./tests/kind/runtime-resilience-run.sh