summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-10 02:41:36 +0200
committeremkael <emkael@tlen.pl>2018-10-10 02:41:36 +0200
commit7498de04f53b21a9452de026eb78f4f8f8c73d6b (patch)
treef7b9211cfbee5d4b417efb3b712c6cbd3b4ebc8c
parent494d603f5e8b036fd20069d27add66018f144924 (diff)
Automation script
-rwxr-xr-xausbutler.sh7
-rw-r--r--tournaments.txt7
2 files changed, 14 insertions, 0 deletions
diff --git a/ausbutler.sh b/ausbutler.sh
new file mode 100755
index 0000000..c1a9112
--- /dev/null
+++ b/ausbutler.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+cd "$(dirname "$0")"
+while read -r TOURNAMENT
+do
+ ln -sfn configs/config.$TOURNAMENT config
+ python jfrteamy-ausbutler/butler.py calculate generate nowait
+done < tournaments.txt
diff --git a/tournaments.txt b/tournaments.txt
new file mode 100644
index 0000000..57df1bd
--- /dev/null
+++ b/tournaments.txt
@@ -0,0 +1,7 @@
+eklasa
+1n
+1s
+2ne
+2nw
+2se
+2sw