wip debug

This commit is contained in:
Motiejus Jakštys
2021-03-15 18:58:16 +02:00
parent 09f8e01a0e
commit d9c155807d
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 $@