aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-10 22:55:17 +0900
committernsfisis <nsfisis@gmail.com>2024-08-10 22:55:17 +0900
commit8ce2834a5bd2bbe799f6fab969cc1d9da6bdb588 (patch)
tree3af529e1c4259d7cb8c5dbfa942de8e57bd75af1 /Makefile
parenta8f2594e8dcb741fb942092cbc53d64cf93132ef (diff)
parent04ff82d35e9cbd3d2a86204260f58a370fda88da (diff)
downloadphperkaigi-2025-albatross-8ce2834a5bd2bbe799f6fab969cc1d9da6bdb588.tar.gz
phperkaigi-2025-albatross-8ce2834a5bd2bbe799f6fab969cc1d9da6bdb588.tar.zst
phperkaigi-2025-albatross-8ce2834a5bd2bbe799f6fab969cc1d9da6bdb588.zip
Merge branch 'feat/watch-page'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bf3b34c..b9320bd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
DOCKER_COMPOSE := docker compose -f compose.local.yaml
+all: down build reset up
+
+reset:
+ echo "UPDATE games SET state = 'waiting_entries', started_at = NULL WHERE game_id = 1;" | make psql-query
+
.PHONY: build
build:
${DOCKER_COMPOSE} build