There was an error while loading. Please reload this page.
1 parent 4a8626f commit 98c0526Copy full SHA for 98c0526
1 file changed
Makefile
@@ -37,7 +37,19 @@ install: build
37
sudo rm -rf ${NAME}.egg-info
38
39
test: all
40
- if pip show pytest-cov > /dev/null; then $(PYTEST) --cov=CloudFlare ; else $(PYTEST) -vv ; fi
+ @if pip show pytest-cov > /dev/null; \
41
+ then \
42
+ if [ `find CloudFlare cli4 examples tests setup.py -type f -name '*.py' -newer .coverage | wc -l` != 0 ]; \
43
44
+ echo $(PYTEST) --cov=CloudFlare ; \
45
+ $(PYTEST) --cov=CloudFlare ; \
46
+ else \
47
+ true ; \
48
+ fi ; \
49
50
+ echo $(PYTEST) -vv ; \
51
+ $(PYTEST) -vv ; \
52
+ fi
53
54
cli4test: all
55
$(PYTHON) -m cli4 /ips > /dev/null
0 commit comments