Skip to content

Commit

Permalink
Merge pull request #78 from savagedev/add-linter-to-makefile
Browse files Browse the repository at this point in the history
Add linter to makefile
  • Loading branch information
ezeoleaf authored Jul 12, 2022
2 parents ca4cccc + 7aa5b1d commit 82cb0e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ compile:
# Windows
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/larry-windows-64 ./cmd/larry/.

lint:
docker run --rm -v $(CURDIR):/app -w /app golangci/golangci-lint:v1.46.2 golangci-lint run

## help: prints this help message
help:
@echo "Usage: \n"
Expand Down

0 comments on commit 82cb0e7

Please sign in to comment.