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,6 +7,9 @@ if [[ "${CI_BUILD}" == "no" ]]; then
exit 1
fi
# include common functions
. ./utils.sh
tar -xzf ./vscode.tar.gz
chown -R root:root vscode
@@ -63,11 +66,7 @@ fi
if [[ -d "../patches/linux/client/" ]]; then
for file in "../patches/linux/client/"*.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