mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Merge branch 'postinstall' of https://github.com/f111fei/vscode into f111fei-postinstall
This commit is contained in:
12
build/npm/postinstall.js
Normal file
12
build/npm/postinstall.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
var cp = require('child_process');
|
||||
|
||||
var extensions = ['vscode-api-tests', 'vscode-colorize-tests', 'json', 'typescript', 'php', 'javascript'];
|
||||
|
||||
extensions.forEach(function (extension) {
|
||||
cp.execSync('npm --prefix extensions/' + extension + '/ install extensions/' + extension + '/');
|
||||
});
|
||||
Reference in New Issue
Block a user