From 5bd0d5d640557a8147a4586cd1ecd148f47e42a9 Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Wed, 12 Jul 2023 15:33:33 +1000 Subject: [PATCH] Attempting multiline bash command for xcpretty --- .drone.jsonnet | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index bf6c23802..9f4bf0f48 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -6,8 +6,16 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/ // xcpretty local xcpretty_commands = [ - 'if [[ $(command -v brew) != "" ]]; then; brew install xcpretty; fi;', - 'if [[ $(command -v brew) == "" ]]; then; gem install xcpretty; fi;' + ||| + if [[ $(command -v brew) != "" ]]; then + brew install xcpretty + fi + |||, + ||| + if [[ $(command -v brew) == "" ]]; then + gem install xcpretty + fi + |||, ];