Build: change definition of the vars in makefile (#18151)

Prompted by the @slim-bean talk (thanks!). With that definition
`GO_FILES` var can be dynamically changed, that will be very helpful
in grafana enterprise repo

(cherry picked from commit 8202fa2fde)
This commit is contained in:
Oleg Gaidarenko
2019-08-02 11:47:05 +02:00
committed by Leonard Gram
parent c8740d98b0
commit 00519f1105
+2 -2
View File
@@ -2,8 +2,8 @@
.PHONY: all deps-go deps-js deps build-go build-server build-cli build-js build build-docker-dev build-docker-full lint-go gosec revive golangci-lint go-vet test-go test-js test run clean devenv devenv-down revive-alerting
GO := GO111MODULE=on go
GO_FILES := ./pkg/...
GO = GO111MODULE=on go
GO_FILES ?= ./pkg/...
all: deps build