From cdd8a8e6947b7f9ce8c59df7a9b71eea00e1153e Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Fri, 19 May 2023 11:10:52 +0000 Subject: [PATCH] Generate layout if it doesnt exist --- src/dev.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dev.sh b/src/dev.sh index 69a94ac01..bda9cc474 100755 --- a/src/dev.sh +++ b/src/dev.sh @@ -194,6 +194,10 @@ function layout () function runtest () { + if [[ ! -d "$LAYOUT_DIR" ]]; then + echo "$LAYOUT_DIR doesn't exist. Generating it now ..." + layout + fi heading "Testing ..." if [[ ("$CURRENT_PLATFORM" == "linux") || ("$CURRENT_PLATFORM" == "darwin") ]]; then