Run compose from the root in part layout

This commit is contained in:
hh
2026-09-09 00:39:12 +02:00
parent a4994ce234
commit 695742019d
+1 -1
View File
@@ -1,4 +1,4 @@
COMPOSE := docker compose{% if layout == 'part' %} --project-directory ..{% endif %} COMPOSE := {% if layout == 'part' %}cd .. && {% endif %}docker compose
{% if serve != 'api' %}IMAGE := {{ project_slug }}/frontend {% if serve != 'api' %}IMAGE := {{ project_slug }}/frontend
{% endif %}changed = ! git diff --quiet $(1) -- $(2) 2>/dev/null {% endif %}changed = ! git diff --quiet $(1) -- $(2) 2>/dev/null
stamp = { git update-ref $(1) HEAD 2>/dev/null || true; } stamp = { git update-ref $(1) HEAD 2>/dev/null || true; }