##// END OF EJS Templates
makefile: also cleanup .orig files
marcink -
r642:3f98c6ee default
parent child Browse files
Show More
@@ -1,21 +1,23 b''
1 1
2 2 .PHONY: clean test test-clean test-only generate-pkgs
3 3
4 4
5 5 clean:
6 6 make test-clean
7 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';'
7 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';'
8 8
9 9 test:
10 10 make test-clean
11 11 make test-only
12 12
13 13 test-clean:
14 14 rm -rf coverage.xml htmlcov junit.xml pylint.log result
15 15 find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
16 16
17 17 test-only:
18 PYTHONHASHSEED=random py.test -vv -r xw -p no:sugar --cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver
18 PYTHONHASHSEED=random \
19 py.test -x -vv -r xw -p no:sugar \
20 --cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver
19 21
20 22 generate-pkgs:
21 23 nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"
General Comments 0
You need to be logged in to leave comments. Login now