mirror of
https://github.com/laravel-ls/uri
synced 2026-06-16 01:54:57 +02:00
hack/make/go: update go.mk
This commit is contained in:
parent
2f65172f67
commit
cd5c7037e5
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ PKG := $(subst $(GO_PATH)/src/,,$(CURDIR))
|
|||
GO_PKGS := $(shell go list ./... | grep -v -e '.pb.go')
|
||||
GO_APP_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}{{.ImportPath}}{{end}}' ${PKG}/...)
|
||||
GO_TEST_PKGS := $(shell go list -f='{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)
|
||||
GO_VENDOR_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}./vendor/{{.ImportPath}}{{end}}' ./vendor/...)
|
||||
GO_VENDOR_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}./vendor/{{.ImportPath}}{{end}}' -mod=vendor ./vendor/...)
|
||||
|
||||
GO_TEST ?= go test
|
||||
ifneq ($(shell command -v gotest),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue