From a1a498f96cec2fe9c7ecb8d89bd9e7f6d49eae13 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Tue, 28 May 2019 20:08:27 +0300 Subject: [PATCH] Build: ignore absence of docker-compose (#17331) If devenv/docker-compose.yaml file is missing, `devenv-down` and subsequently `devenv` is not going to work --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7e5a3798f70..5b89b178e97 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,8 @@ endif # drop down the envs devenv-down: @cd devenv; \ - docker-compose down; + test -f docker-compose.yaml && \ + docker-compose down || exit 0; # TODO recheck the rules and leave only necessary exclusions gosec: scripts/go/bin/gosec