Merge remote-tracking branch 'origin/main' into plans-4b-after-grace
2 files changed,
+5
−1
.gitignore+1 −0Makefile+4 −1
CI passed — run details
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 . |