Move simulation generated data to subdir

This commit is contained in:
Yuriy Glukhov 2019-01-14 13:35:23 +02:00 committed by zah
parent 187c832b72
commit d71410b8b9
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,2 @@
*.json simulation-data

View File

@ -5,7 +5,8 @@ set -eu
NUMBER_OF_VALIDATORS=99 NUMBER_OF_VALIDATORS=99
cd $(dirname "$0") cd $(dirname "$0")
SIMULATION_DIR=$PWD SIMULATION_DIR=$PWD/simulation-data
mkdir -p "$SIMULATION_DIR"
STARTUP_FILE="$SIMULATION_DIR/startup.json" STARTUP_FILE="$SIMULATION_DIR/startup.json"
SNAPSHOT_FILE="$SIMULATION_DIR/state_snapshot.json" SNAPSHOT_FILE="$SIMULATION_DIR/state_snapshot.json"