82 lines
2.2 KiB
Makefile
82 lines
2.2 KiB
Makefile
.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-browser check-runtime check-v1 check-specs check-web-contract generate-web-contract third-party-notices app-up app-down test-frontend check-frontend build-frontend
|
|
|
|
test:
|
|
bash ./tests/run-host-tests.sh
|
|
|
|
check-dependencies:
|
|
bash ./tests/kind/run.sh
|
|
|
|
check-fixture-lib:
|
|
bash ./tests/kind/lib-test.sh
|
|
|
|
check-kind-matrix:
|
|
bash ./tests/kind/matrix-run.sh
|
|
|
|
check-storage-foundation:
|
|
bash ./tests/kind/storage-foundation-run.sh
|
|
|
|
check-auth:
|
|
bash ./tests/kind/auth-run.sh
|
|
|
|
check-app:
|
|
bash ./tests/kind/auth-run.sh
|
|
|
|
check-app-boundaries:
|
|
bash ./tests/application-boundaries.sh
|
|
|
|
check-streaming:
|
|
bash ./tests/kind/streaming-run.sh
|
|
|
|
check-idempotency:
|
|
bash ./tests/kind/idempotency-run.sh
|
|
|
|
check-recovery:
|
|
bash ./tests/kind/recovery-run.sh
|
|
|
|
check-model-correspondence:
|
|
bash ./tests/model-correspondence/run.sh
|
|
|
|
check-protocol: check-model-correspondence
|
|
bash ./tests/kind/protocol-conformance-run.sh
|
|
|
|
check-product: test-frontend check-frontend build-frontend check-web-contract
|
|
bash ./tests/kind/product-run.sh
|
|
|
|
check-browser: test-frontend check-frontend build-frontend
|
|
bash ./tests/kind/browser-run.sh
|
|
|
|
check-web-contract:
|
|
bash ./tests/web-contract.sh
|
|
|
|
generate-web-contract:
|
|
cabal run nuthatch-generate-web-contract --offline -- web/src/generated/contract.ts web/test/fixtures/contract.json
|
|
|
|
third-party-notices:
|
|
cabal build exe:nuthatch --dry-run --offline --builddir=dist-newstyle/third-party
|
|
npm --prefix web ci
|
|
node scripts/generate-third-party-notices.mjs dist-newstyle/third-party/cache/plan.json web/package-lock.json web/node_modules THIRD_PARTY_NOTICES.txt
|
|
|
|
check-runtime: test check-recovery
|
|
bash ./tests/runtime-static.sh
|
|
bash ./tests/kind/runtime-resilience-run.sh
|
|
|
|
check-v1:
|
|
bash ./tests/check-v1.sh
|
|
|
|
check-specs:
|
|
bash ./tests/spec-contracts.sh
|
|
|
|
app-up:
|
|
NUTHATCH_APP_INTERACTIVE=1 bash ./tests/kind/auth-run.sh
|
|
|
|
app-down:
|
|
bash ./tests/kind/destroy.sh
|
|
|
|
test-frontend:
|
|
npm --prefix web test
|
|
|
|
check-frontend:
|
|
npm --prefix web run check
|
|
|
|
build-frontend:
|
|
npm --prefix web run build
|