summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-04-11 18:32:30 +0200
committeremkael <emkael@tlen.pl>2017-04-11 18:32:30 +0200
commit33f72f51336f371ddbf342bfc755e35c56258c3b (patch)
tree128af92400470ba2217dc2d1a090c1772b5d769c /bin
parentbb087f62e6434c032644d030446ab781837ae5dd (diff)
Build scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make-test.sh4
-rwxr-xr-xbin/make.sh3
2 files changed, 7 insertions, 0 deletions
diff --git a/bin/make-test.sh b/bin/make-test.sh
new file mode 100755
index 0000000..f4c14d5
--- /dev/null
+++ b/bin/make-test.sh
@@ -0,0 +1,4 @@
+#!/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 players.py http/test/players config/test-dates.json
diff --git a/bin/make.sh b/bin/make.sh
new file mode 100755
index 0000000..efee4f4
--- /dev/null
+++ b/bin/make.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+python ranking.py config/dates.json 2016-12-31 > http/index.html
+python players.py http/players config/dates.json