/
githubmirror
/
ionic-framework
Обзор
Документация
Войти
/
githubmirror
/
ionic-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/test/sync-e2e.sh
35 строк
823 B
Liam DeBeasi
refactor(angular): move to packages directory (#27719)
05 июл 2023, 20:52
Не верифицирован
05 июл 2023, 20:52
32bc33e
Код
Авторство
О чём код?
#!/bin/bash # The directory where the source # for each specific application is. APPS_DIR="apps" # The directory where the # base application logic is BASE_DIR="base" BUILD_DIR="build" # The specific application # we are building APP_DIR="${1}" # The full path to the specific application. FULL_APP_DIR="${APPS_DIR}/${APP_DIR}/e2e" # The full path to the base application. FULL_BASE_DIR="${BASE_DIR}/e2e" # The full path to the built application. BUILD_APP_DIR="${BUILD_DIR}/${APP_DIR}/" # Make the build directory if it does not already exist. mkdir -p $BUILD_DIR # First we need to copy the base application cp -R $FULL_BASE_DIR $BUILD_APP_DIR # Then we can copy the specific app which # will override any files in the base application. cp -R $FULL_APP_DIR $BUILD_APP_DIR echo "Synced e2e tests for ${APP_DIR}"