diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:51:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:51:41 +0900 |
| commit | a7ce31249948e4f0c1950de93f3c4f7cdda51cf4 (patch) | |
| tree | c4c740f0cccd15f825596f7a115f3b8f8eb8ffa7 /Makefile | |
| parent | 7f4d16dca85263dcbc7b3bb29f5fc50f4371739d (diff) | |
| parent | c06d46eae30c9468535fb6af5e9b822acadbbdb6 (diff) | |
| download | phperkaigi-2025-albatross-a7ce31249948e4f0c1950de93f3c4f7cdda51cf4.tar.gz phperkaigi-2025-albatross-a7ce31249948e4f0c1950de93f3c4f7cdda51cf4.tar.zst phperkaigi-2025-albatross-a7ce31249948e4f0c1950de93f3c4f7cdda51cf4.zip | |
Merge branch 'phperkaigi-2025'
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,9 +1,6 @@ DOCKER_COMPOSE := docker compose -f compose.local.yaml -all: down build reset up - -reset: - echo "UPDATE games SET state = 'waiting', started_at = NULL WHERE game_id = 1;" | make psql-query +all: down build up .PHONY: build build: @@ -49,6 +46,11 @@ sqldef: down ${DOCKER_COMPOSE} up --wait db ${DOCKER_COMPOSE} run --no-TTY tools psqldef < ./backend/schema.sql +.PHONY: asynq +asynq: + ${DOCKER_COMPOSE} up --wait task-db + ${DOCKER_COMPOSE} run tools go run github.com/hibiken/asynq/tools/asynq --uri task-db:6379 dash + .PHONY: init init: build initdb |
