From: Pawel Wieczorek Date: Mon, 8 Jul 2019 12:24:19 +0000 (+0200) Subject: k8s: Make convenience targets CI-friendly X-Git-Tag: 6.0.0-ONAP~453 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=660f496429b43a02e0c254ae49ce63163f6f2b27;p=integration.git 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 --- 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)