Fix Makefile on Windows and use in AppVeyor build (#3748)

This commit is contained in:
Daniel Nelson
2018-02-02 12:25:59 -08:00
committed by GitHub
parent 94e603b46a
commit 0e5eb8a584
2 changed files with 8 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ PREFIX := /usr/local
VERSION := $(shell git describe --exact-match --tags 2>/dev/null)
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
COMMIT := $(shell git rev-parse --short HEAD)
GOFILES ?= $(shell find . -name '*.go')
GOFILES ?= $(shell git ls-files '*.go')
GOFMT ?= $(shell gofmt -l $(GOFILES))
ifdef GOBIN