]> git.openstreetmap.org Git - nominatim.git/blob - Makefile
adapt BDD tests for legacy tokenizer + Python frontend
[nominatim.git] / Makefile
1 all:
2
3 # Building of wheels
4
5 build: clean-build build-db build-api
6
7 clean-build:
8         rm -f dist/*
9
10 build-db:
11         python3 -m build packaging/nominatim-db --outdir dist/
12
13 build-api:
14         python3 -m build packaging/nominatim-api --outdir dist/
15
16 # Tests
17
18 tests: mypy lint pytest bdd
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 clean-build build-db build-api