summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2021-07-11 15:31:51 +0200
committeremkael <emkael@tlen.pl>2021-07-11 15:31:51 +0200
commit64ff0f7746a56a6b9400d41d5dd2eb9f7e2ffd03 (patch)
tree6133bafdc3cc8944b0df1ea14860a82f98dfd08c
parentc763002b75c9fc14a5f098a02b0c7edb9e29c7b1 (diff)
Do not auto-refetch dumps before butler compilation + 2SE fixes
-rw-r--r--Makefile2
-rw-r--r--butler/config.json6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4f41bab..907f087 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ dumps: FORCE
s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/
./dumps/load-dumps.sh
-butler: dumps FORCE
+butler: FORCE
python butler/butler.py 1+2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
python butler/butler.py 1 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
python butler/butler.py 2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
diff --git a/butler/config.json b/butler/config.json
index 3654b57..1fef174 100644
--- a/butler/config.json
+++ b/butler/config.json
@@ -79,9 +79,9 @@
"INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 11, id, id, id+7, '--' FROM teams WHERE id < 8;",
"UPDATE admin SET teamcnt = 16;",
"INSERT INTO _teams(id, bye) VALUES(15, 2),(16, 2);",
- "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT rnd, 8, 15, 16, '--' FROM rounds;",
- "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 1, 8, 15, 16, 1 FROM rounds;",
- "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 2, 8, 15, 16, 1 FROM rounds;"
+ "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT rnd, 8, 15, 16, '--' FROM _rounds;",
+ "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 1, 8, 15, 16, 1 FROM _rounds;",
+ "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 2, 8, 15, 16, 1 FROM _rounds;"
]
}
}