Skip to content

Commit

Permalink
Fix vscode (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey authored Dec 12, 2024
1 parent 5c9de4a commit f439962
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions userTests/vscode/build.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
# TODO: building vs code relies on python 3 as well
# although it might be part of node-gyp's postinstall script and could be skipped safely
apt-get update
apt-get install libsecret-1-dev libx11-dev libxkbfile-dev -y
npm i -g yarn --force
rm -rf vscode
git clone --depth 1 https://github.com/microsoft/vscode.git vscode
START=$(pwd)
cd $TS
rm ~/.config/yarn/link/typescript
yarn link
npm link

cd $START/vscode/build
yarn link typescript
npm link typescript
cd $START/vscode/extensions
yarn add rimraf
yarn link typescript
npm add rimraf
npm link typescript
cd $START/vscode
yarn link typescript
yarn
yarn compile

npm link typescript
npm install
npm run compile

0 comments on commit f439962

Please sign in to comment.