forked from warewulf/warewulf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request warewulf#1201 from anderbubble/purge
Spring cleaning - removing dead code and other source tree care
- Loading branch information
Showing
20 changed files
with
397 additions
and
1,043 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ GO_TOOLS_VENDOR := $(addprefix vendor/, $(GO_TOOLS)) | |
GOLANGCI_LINT := $(TOOLS_BIN)/golangci-lint | ||
GOLANGCI_LINT_VERSION := v1.56.2 | ||
|
||
GOLANG_DEADCODE := $(TOOLS_BIN)/deadcode | ||
|
||
PROTOC := $(TOOLS_BIN)/protoc | ||
PROTOC_GEN_GO := $(TOOLS_BIN)/protoc-gen-go | ||
PROTOC_GEN_GO_GRPC := $(TOOLS_BIN)/protoc-gen-go-grpc | ||
|
@@ -32,6 +34,9 @@ $(GO_TOOLS_BIN): | |
$(GOLANGCI_LINT): | ||
curl -qq -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(TOOLS_BIN) $(GOLANGCI_LINT_VERSION) | ||
|
||
$(GOLANG_DEADCODE): | ||
GOBIN="$(PWD)/$(TOOLS_BIN)" go install golang.org/x/tools/cmd/[email protected] | ||
|
||
$(PROTOC): $(TOOLS_DIR) | ||
cd $(TOOLS_DIR) && curl -LO $(PROTOC_URL) && unzip -o $(notdir $(PROTOC_URL)) | ||
touch --no-create $(PROTOC) # by default the timestamp is preserved from the archive | ||
|
File renamed without changes.
Oops, something went wrong.