提交 44c3957d 编写于 作者: J Joao Moreno

Merge branch 'postinstall' of https://github.com/f111fei/vscode into f111fei-postinstall

/*---------------------------------------------------------------------------------------------
* 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 + '/');
});
\ No newline at end of file
......@@ -13,7 +13,7 @@
"scripts": {
"test": "mocha",
"preinstall": "node build/npm/preinstall.js",
"postinstall": "npm --prefix extensions/vscode-api-tests/ install extensions/vscode-api-tests/ && npm --prefix extensions/vscode-colorize-tests/ install extensions/vscode-colorize-tests/ && npm --prefix extensions/json/ install extensions/json/ && npm --prefix extensions/typescript/ install extensions/typescript/ && npm --prefix extensions/php/ install extensions/php/ && npm --prefix extensions/javascript/ install extensions/javascript/",
"postinstall": "node build/npm/postinstall.js",
"watch": "gulp watch"
},
"dependencies": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册