]> git.openstreetmap.org Git - nominatim.git/blob - Makefile
update licenses and discussion links
[nominatim.git] / Makefile
1 all:
2
3 # Building of wheels
4
5 build: build-core build-db build-api
6
7 build-core:
8         cd packaging/nominatim-core; python3 -m build . --outdir ../dist/
9
10 build-db:
11         cd packaging/nominatim-db; python3 -m build . --outdir ../dist/
12
13 build-api:
14         cd packaging/nominatim-api; python3 -m build . --outdir ../dist/
15
16 # Tests
17
18 tests: mypy lint pytest
19
20 mypy:
21         mypy --strict src
22
23 pytest:
24         pytest test/python
25
26 lint:
27         pylint src
28
29 bdd:
30         cd test/bdd; behave -DREMOVE_TEMPLATE=1
31
32 .PHONY: tests mypy pytest lint bdd build build-core build-db build-api