mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-30 18:24:04 +03:00
6a5366292f
Transit stop IDs previously were tied to LaneIDs, but those can easily change with edits to the number of lanes on a road. We still may need to re-snap transit stops (if the driving position or sidewalk changes), but this prevents one more common type of problem. This requires regenerating everything, since it's a binary schema change...
18 lines
626 B
Bash
Executable File
18 lines
626 B
Bash
Executable File
#!/bin/bash
|
|
# TODO It's probably more useful to now manually run commands from this file.
|
|
|
|
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
|
|
|
|
RUST_BACKTRACE=1 cargo run --release --bin cli --features importer/scenarios -- regenerate-everything
|
|
# Or more efficiently:
|
|
# ./target/release/cli regenerate-everything-externally
|
|
|
|
# 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
|