Makefile
21 lines
| 570 B
| text/x-makefile
|
MakefileLexer
r132 | ||||
r641 | .PHONY: clean test test-clean test-only generate-pkgs | |||
r132 | ||||
clean: | ||||
make test-clean | ||||
find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';' | ||||
test: | ||||
make test-clean | ||||
make test-only | ||||
test-clean: | ||||
rm -rf coverage.xml htmlcov junit.xml pylint.log result | ||||
find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';' | ||||
test-only: | ||||
r502 | PYTHONHASHSEED=random py.test -vv -r xw -p no:sugar --cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver | |||
r641 | ||||
generate-pkgs: | ||||
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses" | ||||