-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
34 lines (24 loc) · 1.3 KB
/
Makefile
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
BACKSTOP_BASE := ./tests/backstop
# ------------------------------------------------------------------------------
# NOTES:
# This Makefile assumes you've gone through the README steps in tests/backstop
# This Makefile is also only for running references and tests against the same environment
# Use the setup in tests/backstop to compare different environments, or local changes
prod-reference:
@cd $(BACKSTOP_BASE) && backstop reference --configPath=backstop.js --pathFile=paths --env=prod
prod-test:
@cd $(BACKSTOP_BASE) && backstop test --configPath=backstop.js --pathFile=paths --env=prod
prod-report:
@cd $(BACKSTOP_BASE) && backstop openReport --configPath=backstop.js --env=prod
staging-reference:
@cd $(BACKSTOP_BASE) && backstop reference --configPath=backstop.js --pathFile=paths --env=staging
staging-test:
@cd $(BACKSTOP_BASE) && backstop test --configPath=backstop.js --pathFile=paths --env=staging
staging-report:
@cd $(BACKSTOP_BASE) && backstop openReport --configPath=backstop.js --env=staging
dev-reference:
@cd $(BACKSTOP_BASE) && backstop reference --configPath=backstop.js --pathFile=paths --env=dev
dev-test:
@cd $(BACKSTOP_BASE) && backstop test --configPath=backstop.js --pathFile=paths --env=dev
dev-report:
@cd $(BACKSTOP_BASE) && backstop openReport --configPath=backstop.js --env=dev