(experiment) skip optional deps for mac

This commit is contained in:
Peter Squicciarini
2020-09-16 11:45:51 -07:00
parent 99038981dc
commit d21ea7de56
2 changed files with 8 additions and 11 deletions

View File

@@ -13,8 +13,13 @@ cd vscode || exit
# apply patches
# patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patches/update-cache-path.patch
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
yarn postinstall
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --ignore-optional
npm_config_argv='{"original":["--ignore-optional"]}' yarn postinstall
else
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
yarn postinstall
fi
if [[ "$BUILDARCH" == *"arm"* ]]; then
sed -i -z 's/,\n[^\n]*arm[^\n]*//' node_modules/vscode-sqlite3/binding.gyp