mirror of https://git.tuxpa.in/a/code-server.git
Adjust npm package postinstall to install extension dependencies (#2180)
Closes #1961
This commit is contained in:
parent
1e4e72aa5b
commit
64a6a460c8
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in New Issue