feat(1.96): update patches and build process (#2131)

This commit is contained in:
Baptiste Augrain
2024-11-27 12:34:24 +01:00
committed by GitHub
parent 573a70ede1
commit 67fd09f6b8
9 changed files with 158 additions and 302 deletions

View File

@@ -113,8 +113,26 @@ if [[ "${SKIP_BUILD}" == "no" ]]; then
cd ..
fi
if [[ -f "./include_${OS_NAME}.gypi" ]]; then
echo "Installing custom ~/.gyp/include.gypi"
mkdir -p ~/.gyp
if [[ -f "${HOME}/.gyp/include.gypi" ]]; then
mv ~/.gyp/include.gypi ~/.gyp/include.gypi.pre-vscodium
else
echo "{}" > ~/.gyp/include.gypi.pre-vscodium
fi
cp ./include_osx.gypi ~/.gyp/include.gypi
fi
. build.sh
if [[ -f "./include_${OS_NAME}.gypi" ]]; then
mv ~/.gyp/include.gypi.pre-vscodium ~/.gyp/include.gypi
fi
if [[ "${VSCODE_LATEST}" == "yes" ]]; then
jsonTmp=$( cat "${VSCODE_QUALITY}.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )
echo "${jsonTmp}" > "${VSCODE_QUALITY}.json" && unset jsonTmp