blob: f2c560de09e2df808ac6c9482f95e86a534d50c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
CONFIG=$1
DIR=$2
PREV_DATE=""
cat $CONFIG |
jq -r '.[] | .date' |
while read DATE
do
python3 scripts/datafiles-generate.py $DATE $PREV_DATE > "$DIR/$DATE.json"
python3 scripts/datafiles-generate-minimal.py $DATE > "$DIR/$DATE.minimal.json"
PREV_DATE=$DATE
done
|