Delete dev.go and compose existing CLI commands instead: - `make dev-bootstrap`: one-time setup (migrate, admin, discover, update, build, deploy) - `make dev` + air: rebuild binary + migrate + serve on file changes Also make `admin create` idempotent and remove stale ADMIN_ALLOW_CIDR env var. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
225 B
TOML
6 lines
225 B
TOML
[build]
|
|
cmd = "make build"
|
|
full_bin = "./wppackages migrate && ./wppackages serve --addr :8080"
|
|
exclude_dir = ["storage", "bin", "test", "docs", ".git"]
|
|
include_ext = ["go", "html", "css", "tmpl"]
|
|
kill_delay = "1s"
|