abstreet/data/regen.sh

18 lines
626 B
Bash
Raw Normal View History

#!/bin/bash
# TODO It's probably more useful to now manually run commands from this file.
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
RUST_BACKTRACE=1 cargo run --release --bin cli --features importer/scenarios -- regenerate-everything
# Or more efficiently:
# ./target/release/cli regenerate-everything-externally
2020-07-27 01:58:14 +03:00
# If a map changes that has external JSON scenarios, enable this!
# importer/external_scenarios.sh
RUST_BACKTRACE=1 cargo run --release --bin game -- --prebake
RUST_BACKTRACE=1 cargo run --release --bin tests