From 1dad15698845d370e998f7cc5feb8aece3fab58f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 17:05:17 -0400 Subject: refactor: remove dead code, consolidate save/error handling, add lint gate --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 872bccc..7fbab5c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: build run test vet clean +.PHONY: build run test vet lint clean BINARY=thoi DATA_DIR=$(PWD)/data @@ -15,5 +15,10 @@ test: vet: go vet ./... +# Requires golangci-lint (v2 config in .golangci.yml): +# go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest +lint: + golangci-lint run + clean: rm -f $(BINARY) -- cgit v1.2.3