aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-27 19:02:32 +0900
committernsfisis <nsfisis@gmail.com>2024-07-27 19:02:32 +0900
commit7cbf34204233df7c7e9e4b24998e25dbd8d2a423 (patch)
tree848da44374c48edec603fb014c59ad0fbb9307e6 /Makefile
parent18308a22879dc9143a03bcbe53cf0c5e8e49ee1f (diff)
downloadphperkaigi-2025-albatross-7cbf34204233df7c7e9e4b24998e25dbd8d2a423.tar.gz
phperkaigi-2025-albatross-7cbf34204233df7c7e9e4b24998e25dbd8d2a423.tar.zst
phperkaigi-2025-albatross-7cbf34204233df7c7e9e4b24998e25dbd8d2a423.zip
organize dockerfiles and compose.yaml
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4e013e1..a1fabae 100644
--- a/Makefile
+++ b/Makefile
@@ -15,11 +15,13 @@ psql: up
docker compose exec db psql --user=postgres albatross
.PHONY: sqldef-dryrun
-sqldef-dryrun:
+sqldef-dryrun: down build
+ docker compose up -d db
docker compose run --no-TTY tools psqldef --dry-run < ./backend/schema.sql
.PHONY: sqldef
-sqldef:
+sqldef: down build
+ docker compose up -d db
docker compose run --no-TTY tools psqldef < ./backend/schema.sql
.PHONY: sqlc