##// END OF EJS Templates
packaging: switched to nix 20.03 packages and latest pip2nix code...
packaging: switched to nix 20.03 packages and latest pip2nix code - dependencies changed: atomicwrites==1.4.0 ipython==5.10.0 pytest==4.6.9 py==1.8.1 pytest-cov==2.8.1 pytest-sugar==0.9.3 pytest-runner==5.2.0

File last commit:

r970:50f14aba python3
r970:50f14aba python3
Show More
Makefile
29 lines | 851 B | text/x-makefile | MakefileLexer
makefile: added standard makefile
r132
makefile: added outdated packages helper
r832 .PHONY: clean test test-clean test-only generate-pkgs pip-packages
makefile: added standard makefile
r132
makefile: added outdated packages helper
r832 # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
makefile: added standard makefile
r132
clean:
make test-clean
makefile: also cleanup .orig files
r642 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';'
makefile: added standard makefile
r132
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 '{}' ';'
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 find . -type f \( -iname '.coverage.*' \) -exec rm '{}' ';'
makefile: added standard makefile
r132
test-only:
makefile: also cleanup .orig files
r642 PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar \
--cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver
makefile: added generate packages
r641
generate-pkgs:
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses --no-binary :all:"
makefile: added outdated packages helper
r832
pip-packages:
python ${OUTDATED_PACKAGES}