diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-10 14:16:09 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-10 21:13:37 +0900 |
| commit | ec03322292d1063ee113a4ad08cfd823cce87850 (patch) | |
| tree | 5429d994bb7282dec5ac14cce2f0d49c43bc1855 /Makefile | |
| parent | 7ca24d875c88bf1d063e156fac8f03507fc38382 (diff) | |
| download | iosdc-japan-2024-albatross-ec03322292d1063ee113a4ad08cfd823cce87850.tar.gz iosdc-japan-2024-albatross-ec03322292d1063ee113a4ad08cfd823cce87850.tar.zst iosdc-japan-2024-albatross-ec03322292d1063ee113a4ad08cfd823cce87850.zip | |
chore: add `make all` and `make reset` for local dev
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
