mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-02 01:50:29 -04:00
Merge from master
This commit is contained in:
14
build/tfs/common/installDistro.js
Normal file
14
build/tfs/common/installDistro.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
var cp = require('child_process');
|
||||
function yarnInstall(package) {
|
||||
cp.execSync("yarn add --no-lockfile " + package);
|
||||
}
|
||||
var product = require('../../../product.json');
|
||||
var dependencies = product.dependencies || {};
|
||||
Object.keys(dependencies).forEach(function (name) {
|
||||
var url = dependencies[name];
|
||||
yarnInstall(url);
|
||||
});
|
||||
Reference in New Issue
Block a user