Files
vscode/build/npm/postinstall.js
2016-04-21 16:01:37 +02:00

23 lines
643 B
JavaScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
const cp = require('child_process');
const extensions = [
'vscode-api-tests',
'vscode-colorize-tests',
'json',
'typescript',
'php',
'javascript'
];
extensions.forEach(extension => {
cp.spawnSync('npm', ['install'], {
cwd: `extensions/${ extension }`,
stdio: 'inherit'
});
});