-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (27 loc) · 879 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (27 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
LIVE_ENV_FILE ?= .env.live
.DEFAULT_GOAL := test
.PHONY: build test test-unit test-contract test-scenarios test-live test-live-managed test-live-all test-live-check test-e2e docs docs-check
build:
npm run build
docs:
npm run docs
docs-check:
npm run docs:check
test:
npm test
test-unit: build
node --test tests/*.test.mjs
test-contract: build
node --test tests/api-contracts.test.mjs
test-scenarios:
npm run test:scenarios
test-live: build
LIVE_ENV_FILE="$(LIVE_ENV_FILE)" node scripts/run-live.mjs forward
test-live-managed: build
LIVE_ENV_FILE="$(LIVE_ENV_FILE)" node scripts/run-live.mjs managed
test-live-all: build
LIVE_ENV_FILE="$(LIVE_ENV_FILE)" node scripts/run-live.mjs all
test-live-check: build
@for file in tests/live/*.mjs; do node --check "$$file" || exit; done
test-e2e: test
LIVE_ENV_FILE="$(LIVE_ENV_FILE)" node scripts/run-live.mjs e2e