This takes part of the work being done in #96 that was reverted but still useful. Note Tailwind and Fresh weren't upgraded because there's no security vulnerability in either, and I have found the new versions to be worse in performance. Thos will likely stay at those fixed versions going forward.
27 lines
378 B
Makefile
27 lines
378 B
Makefile
SHELL := /bin/bash
|
|
|
|
.PHONY: start
|
|
start:
|
|
deno task start
|
|
|
|
.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 run --allow-net --allow-read --allow-env migrate-db.ts
|
|
|
|
.PHONY: exec-db
|
|
exec-db:
|
|
docker exec -it -u postgres $(shell basename $(CURDIR))-postgresql-1 psql
|