##// END OF EJS Templates
makefile: added generate packages
marcink -
r641:c39b8250 default
parent child Browse files
Show More
@@ -1,18 +1,21 b''
1
1
2 .PHONY: clean test test-clean test-only
2 .PHONY: clean test test-clean test-only generate-pkgs
3
3
4
4
5 clean:
5 clean:
6 make test-clean
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' \) -exec rm '{}' ';'
8
8
9 test:
9 test:
10 make test-clean
10 make test-clean
11 make test-only
11 make test-only
12
12
13 test-clean:
13 test-clean:
14 rm -rf coverage.xml htmlcov junit.xml pylint.log result
14 rm -rf coverage.xml htmlcov junit.xml pylint.log result
15 find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
15 find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
16
16
17 test-only:
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 py.test -vv -r xw -p no:sugar --cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver
19
20 generate-pkgs:
21 nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"
General Comments 0
You need to be logged in to leave comments. Login now