k8s: Make convenience targets CI-friendly 19/91019/1
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 8 Jul 2019 12:24:19 +0000 (14:24 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 8 Jul 2019 12:24:35 +0000 (14:24 +0200)
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 <p.wieczorek2@samsung.com>
test/security/k8s/Makefile

index 05fbba0..b42e48a 100644 (file)
@@ -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)