aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f145d4..17b3b1e 100644
--- a/Makefile
+++ b/Makefile
@@ -15,12 +15,14 @@ psql: up
docker compose exec db psql --user=postgres albatross
.PHONY: sqldef-dryrun
-sqldef-dryrun: down build
+sqldef-dryrun: down
+ docker compose build db
docker compose up -d db
docker compose run --no-TTY tools psqldef --dry-run < ./backend/schema.sql
.PHONY: sqldef
-sqldef: down build
+sqldef: down
+ docker compose build db
docker compose up -d db
docker compose run --no-TTY tools psqldef < ./backend/schema.sql