feat: make build more generic (#2268)

This commit is contained in:
Baptiste Augrain
2025-03-16 21:22:25 +01:00
committed by GitHub
parent addf837996
commit 9c310cba11
21 changed files with 294 additions and 276 deletions

View File

@@ -7,7 +7,8 @@ if [[ "${CI_BUILD}" == "no" ]]; then
exit 1
fi
APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
# include common functions
. ./utils.sh
mkdir -p assets
@@ -26,11 +27,7 @@ export VSCODE_HOST_MOUNT VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
if [[ -d "../patches/alpine/reh/" ]]; then
for file in "../patches/alpine/reh/"*.patch; do
if [[ -f "${file}" ]]; then
echo applying patch: "${file}";
if ! git apply --ignore-whitespace "${file}"; then
echo failed to apply patch "${file}" >&2
exit 1
fi
apply_patch "${file}"
fi
done
fi