##// END OF EJS Templates
mercurial: move imports from top-level to prevent from loading mercurial code on hook execution for svn/git
mercurial: move imports from top-level to prevent from loading mercurial code on hook execution for svn/git

File last commit:

r642:3f98c6ee default
r802:4f496d5f default
Show More
Makefile
23 lines | 598 B | text/x-makefile | MakefileLexer
.PHONY: clean test test-clean test-only generate-pkgs
clean:
make test-clean
find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -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:
PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar \
--cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver
generate-pkgs:
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"