From ac074e2c367c7d031cff3ff38e1ccd0ee3449199 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Thu, 9 Feb 2017 17:14:40 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb92f0d5..1a1d2f10 100644 --- a/Makefile +++ b/Makefile @@ -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