From 244a1364891ec5d77e467dc441a8e90e1f41e06c Mon Sep 17 00:00:00 2001 From: jtroughton-ep <132378962+jtroughton-ep@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:59:30 -0800 Subject: [PATCH] Update Makefile go get is deprecated. Adding -d option as suggest here https://golang.org/doc/go-get-install-deprecation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 535ec866..22f69417 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ $(GOPATH)/bin/hound: ui/bindata.go $(SRCS) go install github.com/hound-search/hound/cmds/hound .build/bin/go-bindata: - GOPATH=`pwd`/.build go get github.com/go-bindata/go-bindata/... + GOPATH=`pwd`/.build go get -d github.com/go-bindata/go-bindata/... ui/bindata.go: .build/bin/go-bindata node_modules $(wildcard ui/assets/**/*) rsync -r ui/assets/* .build/ui @@ -37,7 +37,7 @@ test: lint: export GO111MODULE=on - go get github.com/golangci/golangci-lint/cmd/golangci-lint + go get -d github.com/golangci/golangci-lint/cmd/golangci-lint export GOPATH=/tmp/gopath export PATH=$GOPATH/bin:$PATH golangci-lint run ./...