git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 42b01600d12d904b6f2bc28b884e45ee37662dba (plain)
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
29
30
31
PYTHON ?= python

all:

test:
	$(MAKE) test-noclean
	$(MAKE) clean

test-noclean:
	python3 -m pytest --benchmark-disable --tb=short

typecheck:
	$(MAKE) typecheck-noclean
	$(MAKE) clean

typecheck-noclean:
	mypy -p project-dummy --warn-redundant-casts

coverage:
	$(MAKE) coverage-noclean
	$(MAKE) clean

coverage-noclean:
	python3 -m pytest --cov project-dummy --benchmark-disable --tb=short

clean:
	@rm -rf ./dist/ ./__pycache__/ ./tests/__pycache__/
	@rm -rf ./.benchmarks ./.pytest_cache ./.mypy_cache
	@rm -rf ./packages/

.PHONY: all clean test typecheck coverage