summaryrefslogtreecommitdiff
path: root/ausbutler-single.sh
diff options
context:
space:
mode:
authorMichaƂ Klichowicz <emkael@tlen.pl>2020-01-04 12:58:17 +0100
committerGitHub <noreply@github.com>2020-01-04 12:58:17 +0100
commitf5dc97746c6cfa13fc97101f78b702835da6927d (patch)
tree179edaa6e50af459c1d998d905069baba7b60729 /ausbutler-single.sh
parent2de5c9dcfabcef864d0b2b0ab369581b5684b195 (diff)
parentd05b4e2f70b816871d1e7eedfe680d8cd931f027 (diff)
Merge pull request #3 from emkael/separate-single-bulk-scripts
add two separate scripts for single and bulk processing
Diffstat (limited to 'ausbutler-single.sh')
-rwxr-xr-xausbutler-single.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ausbutler-single.sh b/ausbutler-single.sh
new file mode 100755
index 0000000..a8f9271
--- /dev/null
+++ b/ausbutler-single.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+set -eu
+TOURNAMENT=$1
+cd "$(dirname "$0")"
+
+echo "Processing $TOURNAMENT..."
+echo ""
+
+ln -sfn configs/config.$TOURNAMENT config
+python jfrteamy-ausbutler/butler.py calculate generate nowait
+
+echo ""
+echo "Done"
+echo ""
+