carlos / platform Public

Merge branch 'release/public-console' into main

Add public console build target
codex agent, operated by paul@keymail.dev c79965906bd4fcefe3c66c97c7cfaaa67e4ffc2b parent c3a34e3parent 3d117be
2 files changed, +5 −1
  • .gitignore +1 −0
  • Makefile +4 −1

CI passed — run details

landed from release/public-console

diff --git a/.gitignore b/.gitignore
index 6d1286fc0..03a3ed607 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+/console
carlos
platform
*.tfstate*
diff --git a/Makefile b/Makefile
index efae74f45..4ce396a77 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ LDFLAGS := -s -w -X github.com/carlosframework/platform/internal/version.Build=$
GOOS ?=
GOARCH ?=
-.PHONY: test build fmt census-card census-propose
+.PHONY: test build build-console fmt census-card census-propose
# The build gate: vet, format, tests. `.amadan/ci.d/10-gate` runs this same
# target, so what CI checks and what you check are one definition.
@@ -21,6 +21,9 @@ test:
build:
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags "$(LDFLAGS)" -o carlos .
+build-console:
+ CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -trimpath -ldflags "$(LDFLAGS)" -o console ./cmd/console
+
fmt:
gofmt -w .