-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort out binary installation in Makefile #399
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
/cc @bn222 |
Pull Request Test Coverage Report for Build 4097427392
💛 - Coveralls |
@@ -53,7 +54,7 @@ else | |||
GOBIN=$(shell go env GOBIN) | |||
endif | |||
|
|||
GOLANGCI_LINT = $(GOBIN)/golangci-lint | |||
GOLANGCI_LINT = $(BIN_DIR)/golangci-lint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also get rid of L51. Right?
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
GOBIN=$(shell go env GOPATH)/bin
else
GOBIN=$(shell go env GOBIN)
endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes this logic is no longer needed in Makefile. will remove
- Align all binaries to use a predefined bin dir in project - Add cleanup for bin dir - modify/rename go-get-tool to go-install-tool and clean up its logic - cleanup lint target - remove logic to determine GOBIN from go env cmd Signed-off-by: adrianc <[email protected]>
/lgtm thanks! |
0b8e716
to
ebf853a
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Signed-off-by: adrianc [email protected]