summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorSam Debruyn <sam@debruyn.dev>2020-08-13 20:09:14 +0200
committerSam Debruyn <sam@debruyn.dev>2020-08-13 20:09:14 +0200
commit1a9c9eb3a2b3b5d125e6e68045945ba719ca24bb (patch)
tree7c50cef775f3d8454826f33ee45ea6fa12767b87 /GNUmakefile
parent1a4f05c1e9c8728773742a9065d8e70900222cb4 (diff)
Location of golanci-lint is not always in gopath
golanci-lint can be installed by homebrew or as binary, so it's not always located inside gopath, it should be in the path however
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7045d6a1..9a8a9883 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -38,7 +38,7 @@ fmtcheck:
lint:
@echo "==> Checking source code against linters..."
- $(GOPATH)/bin/golangci-lint run ./...
+ golangci-lint run ./...
test: fmtcheck
go test -tags "all" -i $(UNITTEST) || exit 1