chore: update templates (backend v0.1.0 → v0.3.0, caddy v0.1.2 → v0.1.4, frontend v0.3.1 → v0.6.0, infra v0.4.0 → v0.6.0) #6

Merged
hh merged 6 commits from templates/update into dev 2026-10-10 14:56:54 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit 3b5c35ab8a - Show all commits

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
_commit: v0.1.0
_commit: v0.3.0
_src_path: https://git.kotikot.com/templates/blank.git
layout: part
part: backend
+8
View File
@@ -1,10 +1,15 @@
COMPOSE := cd .. && docker compose
<<<<<<< before updating
IMAGE := lodge/backend
LINT := go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2
changed = ! git diff --quiet $(1) -- $(2) 2>/dev/null
stamp = { git update-ref $(1) HEAD 2>/dev/null || true; }
.PHONY: fmt check test build pre-deploy post-deploy client dev
=======
.PHONY: fmt check build
>>>>>>> after updating
fmt:
go mod tidy
@@ -19,6 +24,7 @@ test:
build:
$(COMPOSE) build api
<<<<<<< before updating
pre-deploy:
@if $(call changed,refs/deploy/backend,.) || ! docker image inspect $(IMAGE) >/dev/null 2>&1; then \
@@ -33,3 +39,5 @@ client:
dev:
LODGE_DB=storage/lodge.db STATIC_DIR=../frontend/build CLIENTS_DIR=bin ADMIN_TOKEN=dev go run ./cmd/lodge-server
=======
>>>>>>> after updating