Warning-check for make import-sql (#846)
Always check `make import-sql` for warnings. Not only when invoked by `quickstart.sh`.
This commit is contained in:
3
Makefile
3
Makefile
@@ -167,7 +167,8 @@ import-borders: db-start
|
||||
|
||||
.PHONY: import-sql
|
||||
import-sql: db-start all
|
||||
$(DOCKER_COMPOSE) run $(DC_OPTS) openmaptiles-tools import-sql
|
||||
$(DOCKER_COMPOSE) run $(DC_OPTS) openmaptiles-tools import-sql | \
|
||||
awk -v s=": WARNING:" '$$0~s{print; print "\n*** WARNING detected, aborting"; exit(1)} 1'
|
||||
|
||||
.PHONY: generate-tiles
|
||||
ifneq ($(wildcard data/docker-compose-config.yml),)
|
||||
|
||||
Reference in New Issue
Block a user