From b4c63667ae3424fb554126ba062b7e4eca37e25a Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Wed, 31 Jan 2024 14:02:33 -0800 Subject: [PATCH] refactor(angular, react, vue): add missing test app msg --- packages/angular/test/build.sh | 6 ++++++ packages/react/test/build.sh | 6 ++++++ packages/vue/test/build.sh | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/packages/angular/test/build.sh b/packages/angular/test/build.sh index d91b9cb1771..f597a55f9e6 100755 --- a/packages/angular/test/build.sh +++ b/packages/angular/test/build.sh @@ -22,6 +22,12 @@ FULL_BASE_DIR="${BASE_DIR}/." # The full path to the built application. BUILD_APP_DIR="${BUILD_DIR}/${APP_DIR}/" +# Make sure the full app directory exists. +if [ ! -d $FULL_APP_DIR ]; then + echo "Could not find test app: ${FULL_APP_DIR}" + exit 1 +fi + # Make the build directory if it does not already exist. mkdir -p $BUILD_DIR diff --git a/packages/react/test/build.sh b/packages/react/test/build.sh index a646dc74ba8..51467aee36b 100755 --- a/packages/react/test/build.sh +++ b/packages/react/test/build.sh @@ -22,6 +22,12 @@ FULL_BASE_DIR="${BASE_DIR}/." # The full path to the built application. BUILD_APP_DIR="${BUILD_DIR}/${APP_DIR}/" +# Make sure the full app directory exists. +if [ ! -d $FULL_APP_DIR ]; then + echo "Could not find test app: ${FULL_APP_DIR}" + exit 1 +fi + # Make the build directory if it does not already exist. mkdir -p $BUILD_DIR diff --git a/packages/vue/test/build.sh b/packages/vue/test/build.sh index a646dc74ba8..51467aee36b 100755 --- a/packages/vue/test/build.sh +++ b/packages/vue/test/build.sh @@ -22,6 +22,12 @@ FULL_BASE_DIR="${BASE_DIR}/." # The full path to the built application. BUILD_APP_DIR="${BUILD_DIR}/${APP_DIR}/" +# Make sure the full app directory exists. +if [ ! -d $FULL_APP_DIR ]; then + echo "Could not find test app: ${FULL_APP_DIR}" + exit 1 +fi + # Make the build directory if it does not already exist. mkdir -p $BUILD_DIR