feat: auto generate example env file (#647)

* feat: auto generate example env file

* refactor: simplify build paths func and better slice handling

* chore: forgot to stage everything

* chore: review comments

* refactor: remove square brackets because they mess up the syntax
highlighting

* refactor: use lowercase name to mark dynamic values
This commit is contained in:
Stavros
2026-02-16 23:39:05 +02:00
committed by GitHub
parent e078e8a3f0
commit 6112f977ea
6 changed files with 414 additions and 139 deletions

View File

@@ -60,11 +60,11 @@ test:
go test -v ./...
# Development
develop:
dev:
docker compose -f $(DEV_COMPOSE) up --force-recreate --pull=always --remove-orphans --build
# Development - Infisical
develop-infisical:
dev-infisical:
infisical run --env=dev -- docker compose -f $(DEV_COMPOSE) up --force-recreate --pull=always --remove-orphans --build
# Production
@@ -79,3 +79,7 @@ prod-infisical:
.PHONY: sql
sql:
sqlc generate
# Go gen
generate:
go run ./gen