From 2e857f095621c385b2541b2bff89cac7f9debaf8 Mon Sep 17 00:00:00 2001 From: Simon Behar Date: Fri, 5 Mar 2021 09:06:04 -0800 Subject: [PATCH] fix: Makefile target (#5313) Signed-off-by: Simon Behar --- Makefile | 2 +- server/static/files.go.stub | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 70954fbd6576..43574457dc25 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ VERSION := $(GIT_TAG) endif # should we build the static files? -ifneq (,$(filter $@,codegen|lint|test|docs)) +ifneq (,$(filter $(MAKECMDGOALS),codegen lint test docs start)) STATIC_FILES := false else STATIC_FILES ?= $(shell [ $(DEV_BRANCH) = true ] && echo false || echo true) diff --git a/server/static/files.go.stub b/server/static/files.go.stub index fe3d61d2d0bf..7179551ae2c9 100644 --- a/server/static/files.go.stub +++ b/server/static/files.go.stub @@ -1,3 +1,4 @@ +// File built without static files package static import "net/http"