Skip to content

Commit

Permalink
Makefile: update goacc and linter versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Aug 21, 2024
1 parent 173c054 commit 641abcd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ GO_BIN := ${GOPATH}/bin
LINT_BIN := $(GO_BIN)/golangci-lint
GOACC_BIN := $(GO_BIN)/go-acc

LINT_COMMIT := v1.46.0
GOACC_COMMIT := 80342ae2e0fcf265e99e76bcc4efd022c7c3811b
LINT_VERSION := v1.60.1
GOACC_VERSION := v0.2.8

GOIMPORTS_COMMIT := v0.1.10

GOBUILD := GO111MODULE=on go build -v
Expand Down Expand Up @@ -51,11 +52,11 @@ all: build check

$(LINT_BIN):
@$(call print, "Fetching linter")
$(GOINSTALL) $(LINT_PKG)@$(LINT_COMMIT)
$(GOINSTALL) $(LINT_PKG)@$(LINT_VERSION)

$(GOACC_BIN):
@$(call print, "Fetching go-acc")
$(GOINSTALL) $(GOACC_PKG)@$(GOACC_COMMIT)
$(GOINSTALL) $(GOACC_PKG)@$(GOACC_VERSION)

#? goimports: Install goimports
goimports:
Expand Down Expand Up @@ -146,4 +147,4 @@ help: Makefile
@echo " Choose a command run in btcwallet:"
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'

.PHONY: help
.PHONY: help

0 comments on commit 641abcd

Please sign in to comment.