abstreet/data/regen.sh

15 lines
418 B
Bash
Raw Normal View History

#!/bin/bash
2020-07-27 01:58:14 +03:00
set -e
rm -fv data/input/us/seattle/raw_maps/huge_seattle.bin data/system/us/seattle/maps/huge_seattle.bin data/input/us/seattle/popdat.bin
2020-07-27 01:58:14 +03:00
cargo run --release --bin cli --features importer/scenarios -- regenerate-everything
2020-07-27 01:58:14 +03:00
# If a map changes that has external JSON scenarios, enable this!
# importer/external_scenarios.sh
2020-07-27 01:58:14 +03:00
cargo run --release --bin game -- --prebake
cargo run --release --bin tests