summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-25 19:31:57 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-25 19:31:57 +0300
commit4f07994bdc3d23421cf3941af3edc18c05ffc94b (patch)
tree30e915eda1ffd3767ec9fb722641b9904e85849d /Makefile
parent776fd7a2c484f7c24929e0c33dec06ac76e9ae38 (diff)
Dep: add noblanks linter
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b185d27..7030b5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: setconfig run lint setup-whisper build-whisper download-whisper-model docker-up docker-down docker-logs noextra-run installdelve checkdelve
+.PHONY: setconfig run lint install-linters setup-whisper build-whisper download-whisper-model docker-up docker-down docker-logs noextra-run installdelve checkdelve
run: setconfig
go build -tags extra -o gf-lt && ./gf-lt
@@ -21,8 +21,11 @@ installdelve:
checkdelve:
which dlv &>/dev/null || installdelve
+install-linters: ## Install additional linters (noblanks)
+ go install github.com/GrailFinder/noblanks-linter/cmd/noblanks@latest
+
lint: ## Run linters. Use make install-linters first.
- golangci-lint run -c .golangci.yml ./...
+ golangci-lint run -c .golangci.yml ./...; noblanks ./...
# Whisper STT Setup (in batteries directory)
setup-whisper: build-whisper download-whisper-model