optimize postinstall

This commit is contained in:
f111fei
2016-04-12 10:20:18 +08:00
parent 37f5e2b355
commit 8fb523f810
2 changed files with 13 additions and 1 deletions
+12
View 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'];
extensions.forEach(function (extension) {
cp.execSync('npm --prefix extensions/' + extension + '/ install extensions/' + extension + '/');
});