Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
go get is deprecated.  Adding -d option as suggest here https://golang.org/doc/go-get-install-deprecation
  • Loading branch information
jtroughton-ep authored Jan 9, 2024
1 parent bcd48d6 commit 244a136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ./...
Expand Down

0 comments on commit 244a136

Please sign in to comment.