bewcloud/Makefile
Erin of Yukis a705a58bbe Declare deno task execute-with-permissions task specifying all the permissions actually needed and alias all other tasks through that
Also add `migrate-db` task to the Deno configuration and use that in the
`Makefile`, so that the Makefile is fully optional, and swap the meanings of
the `start` and `preview` tasks, so that `start` is for production while
`preview` is for development.
2025-12-26 19:55:38 +01:00

26 lines
345 B
Makefile

SHELL := /bin/bash
.PHONY: preview
preview:
deno task preview
.PHONY: format
format:
deno fmt
.PHONY: test
test:
deno task check
deno task test
.PHONY: build
build:
deno task build
.PHONY: migrate-db
migrate-db:
deno task migrate-db
.PHONY: exec-db
exec-db:
docker exec -it -u postgres $(shell basename $(CURDIR))-postgresql-1 psql