Adjusting Makefile so that golint will compile
				
					
				
			This commit is contained in:
		
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ PROJ=dex | |||||||
| ORG_PATH=github.com/dexidp | ORG_PATH=github.com/dexidp | ||||||
| REPO_PATH=$(ORG_PATH)/$(PROJ) | REPO_PATH=$(ORG_PATH)/$(PROJ) | ||||||
| export PATH := $(PWD)/bin:$(PATH) | export PATH := $(PWD)/bin:$(PATH) | ||||||
|  | THIS_DIRECTORY:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | ||||||
|  |  | ||||||
| VERSION ?= $(shell ./scripts/git-version) | VERSION ?= $(shell ./scripts/git-version) | ||||||
|  |  | ||||||
| @@ -73,7 +74,7 @@ bin/protoc-gen-go: | |||||||
| 	@go install -v $(REPO_PATH)/vendor/github.com/golang/protobuf/protoc-gen-go | 	@go install -v $(REPO_PATH)/vendor/github.com/golang/protobuf/protoc-gen-go | ||||||
|  |  | ||||||
| bin/golint: | 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: | clean: | ||||||
| 	@rm -rf bin/ | 	@rm -rf bin/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user