[generator] Automatically generate final mwm.routing files before updating file sizes in countries.txt

This commit is contained in:
Alex Zolotarev 2015-03-09 13:07:58 +03:00
parent f5e3822ead
commit 5f7ac15890

View file

@ -221,6 +221,11 @@ if [[ $1 == "--generate" || $1 == "--continue" || $1 == "--full" ]]; then
$GENERATOR_TOOL -data_path=$DATA_PATH -generate_search_index -output=World
log "TIMEMARK" "Generate world search index done"
# Generate mwm.routing files
log "TIMEMARK" "Generate mwm.routing files"
bash routes_from_mwm_and_osrm.sh
log "TIMEMARK" "Generate mwm.routing files done"
# Update countries list
log "TIMEMARK" "Update countries list"
$GENERATOR_TOOL -generate_update