diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/generate-json.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/generate-json.sh b/bin/generate-json.sh new file mode 100755 index 0000000..c7bc473 --- /dev/null +++ b/bin/generate-json.sh @@ -0,0 +1,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 |