From 22d86358becc5dd5409664a82b18f662d3279c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20P=C3=A9rez-Aradros=20Herce?= Date: Mon, 10 Apr 2017 16:56:25 +0200 Subject: [PATCH] Run vet only against local packages --- libbeat/scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/scripts/Makefile b/libbeat/scripts/Makefile index 028b837495e..c7f1bb55f0b 100755 --- a/libbeat/scripts/Makefile +++ b/libbeat/scripts/Makefile @@ -9,7 +9,7 @@ BEAT_LICENSE?=ASL 2.0 ## @packaging Software license of the application BEAT_VENDOR?=Elastic ## @packaging Name of the vendor of the application BEAT_GOPATH=$(firstword $(subst :, ,${GOPATH})) ES_BEATS?=..## @community_beat Must be set to ./vendor/github.com/elastic/beats. It must always be a relative path. -GOPACKAGES?=${BEAT_PATH}/...## @community_beat Must be set to $(shell govendor list +local) +GOPACKAGES?=$(shell go list ./... | grep -v /vendor/) PACKER_TEMPLATES_DIR?=${ES_BEATS}/dev-tools/packer ## @Building Directory of templates that are used by "make package" NOTICE_FILE?=../NOTICE