go-finger/Makefile
Claude 136059983e
fix: rename binary from finger to go-finger in Makefile and Dockerfile
Align Makefile BINARY_NAME and Dockerfile COPY/ENTRYPOINT/HEALTHCHECK
with the appName constant in cmd/serve.go and the README usage examples,
which already reference go-finger.

https://claude.ai/code/session_01WSTmBCLVtmPMFqxCnjM9fh
2026-03-08 03:56:44 +00:00

24 lines
351 B
Makefile

BINARY_NAME=go-finger
VERSION=$(shell git describe --tags --abbrev=0 || echo "undefined")
all: lint build test
build:
go build -ldflags="-X 'main.version=${VERSION}'" -o ${BINARY_NAME} main.go
test:
go test -v ./...
run:
go run main.go serve
clean:
go clean
rm ${BINARY_NAME}
lint:
golangci-lint run
lint-fix:
golangci-lint run --fix