wip debug

This commit is contained in:
2021-05-19 22:57:46 +03:00
committed by Motiejus Jakštys
parent 6aa674a82f
commit 4b0f214ef9
4 changed files with 59 additions and 13 deletions

View File

@@ -1,6 +1,14 @@
SOURCE ?= lithuania-latest.osm.pbf
WHERE ?= name='Visinčia' OR name='Šalčia' OR name='Nemunas'
.PHONY: test
test: tests.sql .faux.db
./db -f tests.sql
.PHONY: integration-test
integration-test: .faux_filter_rivers
./db -f integration-tests.sql
.faux_filter-rivers: .faux_import-osm
./db -v where="$(WHERE)" -f aggregate-rivers.sql
touch $@