Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 4b0b8c1

Browse files
authored
Merge pull request #1050 from grafana/no-need-to-go-list-vendor
no need for $(go list ./... | grep -v /vendor/) ...
2 parents ca3bc87 + 9100499 commit 4b0b8c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
default:
33
$(MAKE) all
44
test:
5-
CGO_ENABLED=1 go test -v -race $(shell go list ./... | grep -v /vendor/ | grep -v stacktest)
5+
CGO_ENABLED=1 go test -v -race $(shell go list ./... | grep -v stacktest)
66
check:
77
$(MAKE) test
88
bin:

scripts/qa/go-generate.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
go get -u golang.org/x/tools/cmd/stringer github.com/tinylib/msgp
2020

21-
go generate $(go list ./... | grep -v /vendor/)
21+
go generate ./...
2222
out=$(git status --short)
2323
[ -z "$out" ] && echo "all good" && exit 0
2424

@@ -31,5 +31,5 @@ git --no-pager diff
3131

3232
echo "You should probably run:"
3333
echo "go get -u golang.org/x/tools/cmd/stringer github.com/tinylib/msgp"
34-
echo 'go generate $(go list ./... | grep -v /vendor/)'
34+
echo 'go generate ./...'
3535
exit 2

0 commit comments

Comments
 (0)