From ba4442aef63d9f9f9ede339194adc80f7e14f0bd Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 12 Apr 2017 22:09:09 +0200 Subject: Editions date compiled separately --- bin/make-test.sh | 9 +++++++-- bin/make.sh | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3