.PHONY: all build test fmt lint clean install all: fmt lint test build build: go build -o hdmistat ./cmd/hdmistat test: fmt lint go test -v ./... fmt: go fmt ./... lint: golangci-lint run clean: rm -f hdmistat go clean install: build sudo cp hdmistat /usr/local/bin/ # Development helpers .PHONY: run run-daemon run: build ./hdmistat run-daemon: build sudo ./hdmistat daemon # Dependencies .PHONY: deps deps: go mod download go mod tidy