From c43cfb5c48b7d6df829184b311ccbfa5e2fa5669 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 7 May 2021 16:35:08 -0400 Subject: [PATCH] don't make the logs folders on CI Signed-off-by: Sebastian Malton --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 29e8b1e041..306695b7c2 100644 --- a/Makefile +++ b/Makefile @@ -53,24 +53,30 @@ integration-linux: binaries/client build-extension-types build-extensions # rm -rf ${HOME}/.config/Lens # endif yarn build:linux +ifndef CI mkdir -p logs - rm -r ./logs/* + rm -r logs +endif yarn integration .PHONY: integration-mac integration-mac: binaries/client build-extension-types build-extensions # rm ${HOME}/Library/Application\ Support/Lens yarn build:mac +ifndef CI mkdir -p logs - rm -r ./logs/* + rm -r logs +endif yarn integration .PHONY: integration-win integration-win: binaries/client build-extension-types build-extensions # rm %APPDATA%/Lens yarn build:win +ifndef CI mkdir -p logs - rm -r ./logs/* + rm -r logs +endif yarn integration .PHONY: build