summaryrefslogtreecommitdiff
path: root/bin/generate-json.sh
blob: c7bc473db2f518302f386f31fc1807d58946b93b (plain)
1
2
3
4
5
#!/bin/bash
CONFIG=$1
OUTPUT=$2
LAST_DATE=`cat $CONFIG | jq -r '.[] | .date' | sort | tail -n1`
python generate-json.py $LAST_DATE > $OUTPUT/res/ranking.json