-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c9de4a
commit f439962
Showing
1 changed file
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |