From ec03322292d1063ee113a4ad08cfd823cce87850 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 10 Aug 2024 14:16:09 +0900 Subject: chore: add `make all` and `make reset` for local dev --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-70-g09d2