mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-25 19:35:02 +03:00
33 lines
526 B
Makefile
33 lines
526 B
Makefile
all:
|
|
|
|
# Building of wheels
|
|
|
|
build: build-core build-db build-api
|
|
|
|
build-core:
|
|
cd packaging/nominatim-core; python3 -m build . --outdir ../dist/
|
|
|
|
build-db:
|
|
cd packaging/nominatim-db; python3 -m build . --outdir ../dist/
|
|
|
|
build-api:
|
|
cd packaging/nominatim-api; python3 -m build . --outdir ../dist/
|
|
|
|
# Tests
|
|
|
|
tests: mypy lint pytest
|
|
|
|
mypy:
|
|
mypy --strict src
|
|
|
|
pytest:
|
|
pytest test/python
|
|
|
|
lint:
|
|
pylint src
|
|
|
|
bdd:
|
|
cd test/bdd; behave -DREMOVE_TEMPLATE=1
|
|
|
|
.PHONY: tests mypy pytest lint bdd build build-core build-db build-api
|