Archived
1
0

Adjust npm package postinstall to install extension dependencies (#2180)

Closes #1961
This commit is contained in:
Anmol Sethi 2020-10-09 15:00:49 -04:00 committed by GitHub
parent 1e4e72aa5b
commit 64a6a460c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,13 @@ vscode_yarn() {
yarn --production --frozen-lockfile yarn --production --frozen-lockfile
cd extensions cd extensions
yarn --production --frozen-lockfile yarn --production --frozen-lockfile
for ext in */; do
ext="${ext%/}"
echo "extensions/$ext: installing dependencies"
cd "$ext"
yarn --production --frozen-lockfile
cd "$OLDPWD"
done
} }
main "$@" main "$@"