From 7a30ac0613a604e1f49fc05dd77989e0cf7f05ec Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Fri, 23 Jun 2017 11:59:12 +0200 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d746696a..a0e58ca7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,16 +21,33 @@ These packages are described in the root file called `metadata.js` and it is pos ## Running the editor from source -```bash -# clone vscode -/src> git clone https://github.com/Microsoft/vscode +You need to have all the build setup of being able to build VS Code to be able to build the Monaco Editor. -# install minimal npm deps for vscode -/src/vscode> npm run monaco-editor-setup +* Install all the prerequisites: https://github.com/Microsoft/vscode/wiki/How-to-Contribute#installing-prerequisites +### OS X and Linux +``` +/src> git clone https://github.com/microsoft/vscode +/src> cd vscode +# install npm deps for vscode +/src/vscode> ./scripts/npm.sh install # start the compiler in the background -/src/vscode> node_modules/.bin/gulp watch-client +/src/vscode> npm run watch +``` +### Windows +``` +/src> git clone https://github.com/microsoft/vscode +/src> cd vscode +# install npm deps for vscode +/src/vscode> scripts\npm.bat install +# start the compiler in the background +/src/vscode> npm run watch +``` + +* For the monaco editor test pages: + +```bash # clone monaco-editor (note the folders must be siblings!) /src> git clone https://github.com/Microsoft/monaco-editor