Skip to content

Commit

Permalink
dev: Fix Makefile compatiblity with Make 3.81 (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo authored Jan 11, 2022
1 parent ea53355 commit 27b6122
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.ONESHELL:
.PHONY: all deps build install lint test ci jira.server clean distclean

##############
Expand Down Expand Up @@ -43,9 +42,9 @@ install:
go install -ldflags='$(LDFLAGS)' ./...

lint:
@if ! command -v golangci-lint > /dev/null 2>&1; then
@if ! command -v golangci-lint > /dev/null 2>&1; then \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b "$$(go env GOPATH)/bin" v1.43.0
sh -s -- -b "$$(go env GOPATH)/bin" v1.43.0 ; \
fi
golangci-lint run ./...

Expand Down

0 comments on commit 27b6122

Please sign in to comment.