aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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