diff options
author | emkael <emkael@tlen.pl> | 2017-07-06 00:13:54 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-07-06 00:13:54 +0200 |
commit | 3bef06bedb9b2dad691356863b7c227ad8ecbd67 (patch) | |
tree | bf88d06b1cfaf78cf065ad85559ee342e7075bf3 /bin | |
parent | 489eb40c0a29116ccce98291b3e174cb4531587b (diff) |
Generating ranking data in JSON format
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 |