nuthatch/Makefile

52 lines
1 KiB
Makefile

.PHONY: test check-dependencies check-fixture-lib check-kind-matrix check-storage-foundation check-auth check-app check-streaming check-idempotency check-recovery check-protocol check-product app-up app-down test-frontend check-frontend build-frontend
test:
cabal test --offline nuthatch-unit
check-dependencies:
./tests/kind/run.sh
check-fixture-lib:
./tests/kind/lib-test.sh
check-kind-matrix:
./tests/kind/matrix-run.sh
check-storage-foundation:
./tests/kind/wp04-run.sh
check-auth:
./tests/kind/wp05-run.sh
check-app:
./tests/kind/wp05-run.sh
check-streaming:
./tests/kind/wp07-run.sh
check-idempotency:
./tests/kind/wp08-run.sh
check-recovery:
./tests/kind/wp09-run.sh
check-protocol:
./tests/kind/wp10-run.sh
check-product: test-frontend check-frontend build-frontend
NUTHATCH_PRODUCT_GATE=1 ./tests/kind/wp05-run.sh
app-up:
NUTHATCH_APP_INTERACTIVE=1 ./tests/kind/wp05-run.sh
app-down:
./tests/kind/destroy.sh
test-frontend:
npm --prefix web test
check-frontend:
npm --prefix web run check
build-frontend:
npm --prefix web run build