Files
frontend-svelte/template/frontend/Makefile.jinja
T
2026-09-08 19:15:15 +02:00

18 lines
303 B
Makefile

COMPOSE := docker compose --project-directory ..
.PHONY: fmt check build dev
fmt:
bun run fix
check:
bun run check
bun run lint
build:
{% if serve == 'api' %} $(COMPOSE) run --rm frontend-dev sh -c "bun install && bun run build"
{% else %} $(COMPOSE) build frontend
{% endif %}
dev:
bun run dev