Update Makefile - lazy set for PKGS variable

Using lazy set we can run targets that are not requring PKGS without
requiring glide.
Lazy set is expended when variable is used, not when declared.
This commit is contained in:
Tomas Kral 2017-02-09 17:14:40 +01:00
parent f918d51cc1
commit ac074e2c36
No known key found for this signature in database
GPG Key ID: E690DA7E4F291FA6

View File

@ -16,7 +16,7 @@
GITCOMMIT := $(shell git rev-parse --short HEAD)
BUILD_FLAGS := -ldflags="-w -X github.com/kubernetes-incubator/kompose/cmd.GITCOMMIT=$(GITCOMMIT)"
PKGS := $(shell glide novendor)
PKGS = $(shell glide novendor)
TEST_IMAGE := kompose/tests:latest
default: bin