initial commit: certmanager

migrate from python to golang
This commit is contained in:
2026-03-24 19:38:24 +11:00
commit 00f5b4a246
15 changed files with 1449 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
BINARY := certmanager
CMD := ./cmd/certmanager
GOFLAGS := -trimpath
LDFLAGS := -s -w
.PHONY: all build test lint clean install
all: build
build:
go build $(GOFLAGS) -ldflags "$(LDFLAGS)" -o $(BINARY) $(CMD)
test:
go test ./...
test-verbose:
go test -v ./...
lint:
golangci-lint run ./...
clean:
rm -f $(BINARY)
install:
go install $(GOFLAGS) -ldflags "$(LDFLAGS)" $(CMD)
tidy:
go mod tidy