diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-13 21:43:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-13 21:58:25 +0900 |
| commit | dff818158c790481868c995e0209f13aeb106251 (patch) | |
| tree | 8c666ea05faa7dd6d7aacc22b67a3224917a80ec /Makefile | |
| parent | 7037bd46431830e4d4ad46b2e136243e8455ac02 (diff) | |
| download | phperkaigi-2026-albatross-dff818158c790481868c995e0209f13aeb106251.tar.gz phperkaigi-2026-albatross-dff818158c790481868c995e0209f13aeb106251.tar.zst phperkaigi-2026-albatross-dff818158c790481868c995e0209f13aeb106251.zip | |
chore: replace Makefile with justfile
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 2d2060d..0000000 --- a/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -DOCKER_COMPOSE := docker compose -f compose.local.yaml - -all: down build up - -.PHONY: build -build: - ${DOCKER_COMPOSE} build - cd frontend; npm install - -.PHONY: up -up: - ${DOCKER_COMPOSE} up -d - cd frontend; npm run dev - -.PHONY: down -down: - ${DOCKER_COMPOSE} down --remove-orphans - -.PHONY: logs -logs: - ${DOCKER_COMPOSE} logs - -.PHONY: logsf -logsf: - ${DOCKER_COMPOSE} logs -f - -.PHONY: psql -psql: - ${DOCKER_COMPOSE} up --wait db - ${DOCKER_COMPOSE} exec db psql --user=postgres albatross - -.PHONY: psql-query -psql-query: - ${DOCKER_COMPOSE} up --wait db - ${DOCKER_COMPOSE} exec --no-TTY db psql --user=postgres albatross - -.PHONY: sqldef-dryrun -sqldef-dryrun: down - ${DOCKER_COMPOSE} build db - ${DOCKER_COMPOSE} up --wait db - ${DOCKER_COMPOSE} run --no-TTY tools psqldef --dry-run < ./backend/schema.sql - -.PHONY: sqldef -sqldef: down - ${DOCKER_COMPOSE} build db - ${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 - -.PHONY: initdb -initdb: - make psql-query < ./backend/schema.sql - make psql-query < ./backend/fixtures/dev.sql - -.PHONY: gen -gen: - cd backend; make gen - cd frontend; npm run openapi-typescript |
