forked from makethunder/tagcompare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (27 loc) · 845 Bytes
/
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
install:
pip install -e .
.PHONY: flake
flake: install
flake8
.PHONY: test
test: install flake
PYTHONPATH=. py.test -m "not integration" --cov-config .coveragerc --cov-report=term-missing --cov=tagcompare tagcompare/test/
.PHONY: test-all
test-all: install flake test
PYTHONPATH=. py.test -m "integration" --cov-append --cov-config .coveragerc --cov-report=term-missing --cov=tagcompare tagcompare/test/
# Do a funn run including gather image and compare them
.PHONY: run
run: install
cd tagcompare && python main.py
# Do a compare only run from previously gathered images
.PHONY: compare
compare: install
cd tagcompare && python compare.py
# Aggregates the output
.PHONY: output
output: install
cd tagcompare && python output.py
# Captures screenshots for tags
.PHONY: capture
capture: install
cd tagcompare && python capture.py