Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions scripts/app_config/templates/configure_template_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,17 @@ TEMPLATE_FILES=(
if [ -f "${ACTUAL_PUBSPEC}" ]; then
rm "${ACTUAL_PUBSPEC}"
fi
cp "${T_PUBSPEC}" "${ACTUAL_PUBSPEC}"

if [ "$BUILD_ISAR_FROM_SOURCE" -eq 1 ]; then
sed '/^# %%ENABLE_ISAR%%$/,/^# %%END_ENABLE_ISAR%%$/{
/^# %%ENABLE_ISAR%%$/d
/^# %%END_ENABLE_ISAR%%$/d
s/^# / /g
s/^# / /g
}' "${T_PUBSPEC}" > "${ACTUAL_PUBSPEC}"
else
cp "${T_PUBSPEC}" "${ACTUAL_PUBSPEC}"
fi

for TF in "${TEMPLATE_FILES[@]}"; do
FILE="${APP_PROJECT_ROOT_DIR}/${TF}"
Expand All @@ -66,8 +76,3 @@ for TF in "${TEMPLATE_FILES[@]}"; do
fi
cp -rp "${TEMPLATES_DIR}/${TF}" "${FILE}"
done

if [ "$BUILD_ISAR_FROM_SOURCE" -eq 1 ]; then
source "${APP_PROJECT_ROOT_DIR}/scripts/app_config/templates/isar_build.sh"
build_isar_source
fi
100 changes: 0 additions & 100 deletions scripts/app_config/templates/isar_build.sh

This file was deleted.

Loading