提交 466b29a0 编写于 作者: M Martin Aeschlimann

install server: use distro commit

上级 5ece1f17
/*---------------------------------------------------------------------------------------------
* 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');
function exec(cmdLine) {
console.log(cmdLine);
cp.execSync(cmdLine, {stdio: "inherit"});
}
exec('git fetch distro');
exec(`git checkout ${process.env['npm_package_distro']} -- src/vs/server resources/server`);
exec('git reset HEAD src/vs/server resources/server');
\ No newline at end of file
......@@ -27,7 +27,7 @@
"strict-initialization-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictPropertyInitialization",
"web": "node resources/server/bin-dev/code-web.js --port 9888",
"web-selfhost": "node resources/server/bin-dev/code-web.js --port 9777 --selfhost --folder .",
"install-server": "git fetch distro && git checkout distro/distro -- src/vs/server resources/server && git reset HEAD src/vs/server resources/server"
"install-server": "node build/npm/install-server.js"
},
"dependencies": {
"applicationinsights": "1.0.8",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册