summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-07-06 00:13:54 +0200
committeremkael <emkael@tlen.pl>2017-07-06 00:13:54 +0200
commit3bef06bedb9b2dad691356863b7c227ad8ecbd67 (patch)
treebf88d06b1cfaf78cf065ad85559ee342e7075bf3 /Makefile
parent489eb40c0a29116ccce98291b3e174cb4531587b (diff)
Generating ranking data in JSON format
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f7725fa..e438d2b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ targetfiles := $(shell bin/target-ranking-files.sh config/dates.json)
tmpfiles := $(patsubst %.html,http/%.html.tmp,$(targetfiles))
rankfiles := $(patsubst %.html,http/%.html.ed,$(targetfiles))
-rankings: tables editions
+rankings: tables editions json
tables:
bin/build-rankings.sh config/dates.json http
@@ -14,6 +14,9 @@ editions: tables $(rankfiles)
$(rankfiles):
python editions.py $(patsubst %.ed,%,$@)
+json:
+ bin/generate-json.sh config/dates.json http
+
players:
bin/build-players.sh http