##// END OF EJS Templates
release: Finish preparation for 4.27.1
release: Finish preparation for 4.27.1

File last commit:

r973:229d24eb python3
r1000:6195da4f v4.27.1 stable
Show More
Makefile
45 lines | 1.2 KiB | text/x-makefile | MakefileLexer
makefile: cleanup makefile
r912 .DEFAULT_GOAL := help
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
makefile: cleanup makefile
r912 .PHONY: clean
clean: ## full clean
makefile: added standard makefile
r132 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
makefile: cleanup makefile
r912
.PHONY: test
test: ## run test-clean and tests
makefile: added standard makefile
r132 make test-clean
make test-only
makefile: cleanup makefile
r912
.PHONY:test-clean
test-clean: ## run test-clean and tests
makefile: added standard makefile
r132 rm -rf coverage.xml htmlcov junit.xml pylint.log result
find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
makefile: cleanup makefile
r912 find . -type f \( -iname '.coverage.*' \) -exec rm '{}' ';'
makefile: added standard makefile
r132
makefile: cleanup makefile
r912
.PHONY: test-only
test-only: ## run tests
makefile: also cleanup .orig files
r642 PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar \
makefile: cleanup makefile
r912 --cov=vcsserver --cov-report=term-missing --cov-report=html \
vcsserver
makefile: added generate packages
r641
makefile: cleanup makefile
r912
.PHONY: generate-pkgs
generate-pkgs: ## generate new python packages
makefile: added generate packages
r641 nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"
makefile: added outdated packages helper
r832
makefile: cleanup makefile
r912
.PHONY: pip-packages
pip-packages: ## show outdated packages
makefile: added outdated packages helper
r832 python ${OUTDATED_PACKAGES}
makefile: cleanup makefile
r912
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-24s\033[0m %s\n", $$1, $$2}'