Skip to content

Commit

Permalink
Merge pull request dexidp#1509 from venezia/fix-go-lint-v2
Browse files Browse the repository at this point in the history
Adjusting Makefile so that `golint` will compile
  • Loading branch information
bonifaido authored Aug 3, 2019
2 parents fe496a4 + ce07943 commit 353fea0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PROJ=dex
ORG_PATH=github.com/dexidp
REPO_PATH=$(ORG_PATH)/$(PROJ)
export PATH := $(PWD)/bin:$(PATH)
THIS_DIRECTORY:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))

VERSION ?= $(shell ./scripts/git-version)

Expand Down Expand Up @@ -73,7 +74,7 @@ bin/protoc-gen-go:
@go install -v $(REPO_PATH)/vendor/github.com/golang/protobuf/protoc-gen-go

bin/golint:
@go install -v $(REPO_PATH)/vendor/golang.org/x/lint/golint
@go install -v $(THIS_DIRECTORY)/vendor/golang.org/x/lint/golint

clean:
@rm -rf bin/
Expand Down

0 comments on commit 353fea0

Please sign in to comment.