summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-04-12 22:09:09 +0200
committeremkael <emkael@tlen.pl>2017-04-12 22:09:09 +0200
commitba4442aef63d9f9f9ede339194adc80f7e14f0bd (patch)
tree288822ee333a2984301613ff8a4a1d3ecf4baebc /bin
parentaf1b5e393562ccf416144118ab72dd1d8f4fee2a (diff)
Editions date compiled separately
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