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