Skip to content

Commit

Permalink
chore: add lint task
Browse files Browse the repository at this point in the history
  • Loading branch information
luissimas committed Jun 20, 2024
1 parent 974cb85 commit 0efff43
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BINARY_NAME=zettelkasten-exporter

.PHONY: all clean format test build run
.PHONY: all clean format vet lint test get build run

all: format vet test build

Expand All @@ -14,10 +14,16 @@ format:
vet:
go vet ./...

lint:
golangci-lint run

test:
go test ./...

build:
get:
go get ./...

build: get
go build -o bin/$(BINARY_NAME) ./cmd/zettelkasten-exporter/main.go

run: build
Expand Down

0 comments on commit 0efff43

Please sign in to comment.