1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
PYTHON ?= python
all:
init:
pre-commit install --install-hooks
test:
python3 -m pytest --benchmark-disable
typecheck:
mypy -p nio --warn-redundant-casts
coverage:
python3 -m pytest --cov nio --benchmark-disable
clean:
-rm -r dist/ __pycache__/
-rm -r packages/
arch-git-pkg:
-rm -r packages/
umask 0022 && poetry build --format sdist
cp contrib/archlinux/pkgbuild/PKGBUILD.git dist/PKGBUILD
cd dist && makepkg -ci
.PHONY: all clean init test typecheck coverage
|