Update Makefile

make sure we use "go list ./..."
* without removing vendor dir as it is now removed by default.
* stop using ls -d */
This commit is contained in:
Adrien Delorme 2019-02-27 10:37:10 +01:00
parent e9990e8876
commit b842adcffd
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
TEST?=$(shell go list ./... | grep -v vendor)
VET?=$(shell ls -d */ | grep -v vendor | grep -v website)
TEST?=$(shell go list ./...)
VET?=$(shell go list ./...)
# Get the current full sha from git
GITSHA:=$(shell git rev-parse HEAD)
# Get the current local branch name from git (if we can, this may be blank)