Complete makefile toolkit with generation and validation capabilities
97
97%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
You are maintaining a Go microservice called payments-svc. The project uses Go modules and needs:
build/payments-svc-ldflags "-X main.Version=$(VERSION)" where VERSION defaults to 0.1.0-X main.Commit=$(shell git rev-parse --short HEAD)docker-build, docker-push, docker-run$(REGISTRY)/payments-svc:$(VERSION) where REGISTRY ?= ghcr.io/myorgdocker-push depends on docker-build and must have error handling for both the versioned tag and the :latest tagdocker-push must not be parallelizable with docker-buildall, build, test, clean, helpProduce a Makefile for this project.