Skip to content

Commit

Permalink
add if check
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebruyn committed Aug 13, 2020
1 parent 1a9c9eb commit 9d9ae6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fmtcheck:

lint:
@echo "==> Checking source code against linters..."
golangci-lint run ./...
@if command -v golangci-lint; then (golangci-lint run ./...); else ($(GOPATH)/bin/golangci-lint run ./...); fi

test: fmtcheck
go test -tags "all" -i $(UNITTEST) || exit 1
Expand Down

0 comments on commit 9d9ae6f

Please sign in to comment.