From 660f496429b43a02e0c254ae49ce63163f6f2b27 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Mon, 8 Jul 2019 14:24:19 +0200 Subject: k8s: Make convenience targets CI-friendly Previously "clean" target failed if there were no build artifacts. Now their absence is ignored. Issue-ID: SECCOM-235 Change-Id: I47beb2754a893e8b7453611116b4da2e516cca90 Signed-off-by: Pawel Wieczorek --- test/security/k8s/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/security/k8s/Makefile b/test/security/k8s/Makefile index 05fbba047..b42e48acc 100644 --- a/test/security/k8s/Makefile +++ b/test/security/k8s/Makefile @@ -18,7 +18,7 @@ test: go test $(PROJECT)/... clean: - rm $(BIN_DIR)/$(BIN) - rmdir $(BIN_DIR) + -rm $(BIN_DIR)/$(BIN) + -rmdir $(BIN_DIR) .PHONY: all run build test clean $(BIN) -- cgit 1.2.3-korg