# Building of wheels
-build: build-core build-db build-api
+build: clean-build build-db build-api
-build-core:
- python3 -m build packaging/nominatim-core --outdir dist/
+clean-build:
+ rm -f dist/*
build-db:
python3 -m build packaging/nominatim-db --outdir dist/
# Tests
-tests: mypy lint pytest
+tests: mypy lint pytest bdd
mypy:
mypy --strict src
bdd:
cd test/bdd; behave -DREMOVE_TEMPLATE=1
-.PHONY: tests mypy pytest lint bdd build build-core build-db build-api
+.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api