Skip to content

Commit 5686800

Browse files
committed
Fix vscode
1 parent 5c9de4a commit 5686800

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

Diff for: userTests/vscode/build.sh

+7-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
# TODO: building vs code relies on python 3 as well
2-
# although it might be part of node-gyp's postinstall script and could be skipped safely
3-
apt-get update
4-
apt-get install libsecret-1-dev libx11-dev libxkbfile-dev -y
5-
npm i -g yarn --force
61
rm -rf vscode
72
git clone --depth 1 https://github.com/microsoft/vscode.git vscode
83
START=$(pwd)
94
cd $TS
10-
rm ~/.config/yarn/link/typescript
11-
yarn link
5+
npm link
126

137
cd $START/vscode/build
14-
yarn link typescript
8+
npm link typescript
159
cd $START/vscode/extensions
16-
yarn add rimraf
17-
yarn link typescript
10+
npm add rimraf
11+
npm link typescript
1812
cd $START/vscode
19-
yarn link typescript
20-
yarn
21-
yarn compile
22-
13+
npm link typescript
14+
npm install
15+
npm run compile

0 commit comments

Comments
 (0)