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-14 10:43:30 +01:00
parent f918d51cc1
commit ac074e2c36
+1 -1
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