From 561d00cc6b2c4b447e60235e4ec8b22b8f92f291 Mon Sep 17 00:00:00 2001 From: pei0804 Date: Thu, 21 Mar 2019 15:26:36 +0900 Subject: [PATCH] use Immediate set --- Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index ede5ff695..f4cc74e6b 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ -GOCMD=$(shell which go) -GOLINT=$(shell which golint) -GOIMPORT=$(shell which goimports) -GOFMT =$(shell which gofmt) -GOBUILD=$(GOCMD) build -GOCLEAN=$(GOCMD) clean -GOTEST=$(GOCMD) test -GOGET=$(GOCMD) get -GOLIST=$(GOCMD) list +GOCMD:=$(shell which go) +GOLINT:=$(shell which golint) +GOIMPORT:=$(shell which goimports) +GOFMT:=$(shell which gofmt) +GOBUILD:=$(GOCMD) build +GOCLEAN:=$(GOCMD) clean +GOTEST:=$(GOCMD) test +GOGET:=$(GOCMD) get +GOLIST:=$(GOCMD) list -BINARY_NAME=swag -PACKAGES=$(shell $(GOLIST) ./... | grep -v /example) -GOFILES := $(shell find . -name "*.go" -type f) +BINARY_NAME:=swag +PACKAGES:=$(shell $(GOLIST) ./... | grep -v /example) +GOFILES:=$(shell find . -name "*.go" -type f) all: test build