summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make-test.sh9
-rwxr-xr-xbin/make.sh3
2 files changed, 9 insertions, 3 deletions
diff --git a/bin/make-test.sh b/bin/make-test.sh
index f4c14d5..e93634f 100755
--- a/bin/make-test.sh
+++ b/bin/make-test.sh
@@ -1,4 +1,9 @@
#!/bin/bash
-python ranking.py config/test-dates.json 2016-12-31 > http/test/2017-01.html
-python ranking.py config/test-dates.json 2017-04-30 2016-12-31 > http/test/index.html
+python ranking.py 2016-12-31 > http/test/2017-01.html
+python ranking.py 2017-04-30 2016-12-31 > http/test/index.html
+find http/test -maxdepth 1 -type f -name \*.html |
+ while read FILE
+ do
+ python editions.py config/test-dates.json $FILE
+ done
python players.py http/test/players config/test-dates.json
diff --git a/bin/make.sh b/bin/make.sh
index efee4f4..ed8ff4a 100755
--- a/bin/make.sh
+++ b/bin/make.sh
@@ -1,3 +1,4 @@
#!/bin/bash
-python ranking.py config/dates.json 2016-12-31 > http/index.html
+python ranking.py 2016-12-31 > http/index.html
+python editions.py config/dates.json http/index.html
python players.py http/players config/dates.json