Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
39 lines
874 B
Makefile
39 lines
874 B
Makefile
# Directory to put `go install`ed binaries in.
|
|
export GOBIN ?= $(shell pwd)/bin
|
|
|
|
GO_FILES := $(shell \
|
|
find . '(' -path '*/.*' -o -path './vendor' ')' -prune \
|
|
-o -name '*.go' -print | cut -b3-)
|
|
|
|
.PHONY: build
|
|
build:
|
|
go build ./...
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test -race ./...
|
|
|
|
.PHONY: gofmt
|
|
gofmt:
|
|
$(eval FMT_LOG := $(shell mktemp -t gofmt.XXXXX))
|
|
@gofmt -e -s -l $(GO_FILES) > $(FMT_LOG) || true
|
|
@[ ! -s "$(FMT_LOG)" ] || (echo "gofmt failed:" | cat - $(FMT_LOG) && false)
|
|
|
|
.PHONY: golint
|
|
golint:
|
|
@cd tools && go install golang.org/x/lint/golint
|
|
@$(GOBIN)/golint ./...
|
|
|
|
.PHONY: staticcheck
|
|
staticcheck:
|
|
@cd tools && go install honnef.co/go/tools/cmd/staticcheck
|
|
@$(GOBIN)/staticcheck ./...
|
|
|
|
.PHONY: lint
|
|
lint: gofmt golint staticcheck
|
|
|
|
.PHONY: cover
|
|
cover:
|
|
go test -race -coverprofile=cover.out -coverpkg=./... -v ./...
|
|
go tool cover -html=cover.out -o cover.html
|