Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Changing "go get -d" to "go install"
  • Loading branch information
jtroughton-ep authored Jan 9, 2024
1 parent 244a136 commit 6480072
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 -d github.com/go-bindata/go-bindata/...
GOPATH=`pwd`/.build go install 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 -d github.com/golangci/golangci-lint/cmd/golangci-lint
go install 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 6480072

Please sign in to comment.