2020-07-24 00:42:20 +03:00
|
|
|
#!/bin/bash
|
2022-02-17 23:18:24 +03:00
|
|
|
# TODO It's probably more useful to now manually run commands from this file.
|
2020-07-24 00:42:20 +03:00
|
|
|
|
2020-07-27 01:58:14 +03:00
|
|
|
set -e
|
|
|
|
|
2021-05-19 00:07:40 +03:00
|
|
|
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
|
|
|
|
2022-02-10 17:30:28 +03:00
|
|
|
RUST_BACKTRACE=1 cargo run --release --bin cli --features importer/scenarios -- regenerate-everything
|
2022-02-17 23:18:24 +03:00
|
|
|
# Or more efficiently:
|
|
|
|
# ./target/release/cli regenerate-everything-externally
|
2020-07-27 01:58:14 +03:00
|
|
|
|
2021-09-14 00:01:56 +03:00
|
|
|
# If a map changes that has external JSON scenarios, enable this!
|
|
|
|
# importer/external_scenarios.sh
|
|
|
|
|
2022-02-10 17:30:28 +03:00
|
|
|
RUST_BACKTRACE=1 cargo run --release --bin game -- --prebake
|
2020-10-01 04:32:18 +03:00
|
|
|
|
2022-02-10 17:30:28 +03:00
|
|
|
RUST_BACKTRACE=1 cargo run --release --bin tests
|