X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e2416f90af990126e0f624ccb076cebd49485aec..a4d7cdd2ad7b1e087751e55a56454781aa6580bc:/Makefile diff --git a/Makefile b/Makefile index bea0e6c9..dae45322 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ all: # 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/ @@ -15,7 +15,7 @@ build-api: # Tests -tests: mypy lint pytest +tests: mypy lint pytest bdd mypy: mypy --strict src @@ -29,4 +29,4 @@ lint: 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