From 7f168bd1cb428d75c20f791c0f57f00297345761 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 9 May 2017 15:07:54 +0800 Subject: [PATCH] update makefile Signed-off-by: Bo-Yi Wu --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e6379bc..93247e6 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ GOFMT ?= gofmt "-s" TARGETS ?= linux darwin windows PACKAGES ?= $(shell go list ./... | grep -v /vendor/) -GOFILES := find . -name "*.go" -type f -not -path "./vendor/*" +GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*") SOURCES ?= $(shell find . -name "*.go" -type f) TAGS ?= LDFLAGS ?= -X 'main.Version=$(VERSION)' @@ -39,7 +39,7 @@ fmt-check: fi; fmt: - $(GOFILES) | xargs $(GOFMT) -w + $(GOFMT) -w $(GOFILES) vet: go vet $(PACKAGES)