Nominatim/Makefile

33 lines
503 B
Makefile
Raw Normal View History

all:
# Building of wheels
build: build-core build-db build-api
build-core:
python3 -m build packaging/nominatim-core --outdir dist/
build-db:
python3 -m build packaging/nominatim-db --outdir dist/
build-api:
python3 -m build packaging/nominatim-api --outdir dist/
# Tests
tests: mypy lint pytest bdd
mypy:
2024-06-09 16:14:19 +03:00
mypy --strict src
pytest:
2024-06-09 16:14:19 +03:00
pytest test/python
lint:
2024-06-09 16:14:19 +03:00
pylint src
bdd:
cd test/bdd; behave -DREMOVE_TEMPLATE=1
.PHONY: tests mypy pytest lint bdd build build-core build-db build-api