File: Makefile

package info (click to toggle)
python-matrix-nio 0.25.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,380 kB
  • sloc: python: 23,670; makefile: 36; sh: 8
file content (28 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (2)
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