mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Add automation to root postinstall script
This commit is contained in:
parent
883bf518a9
commit
3d08742789
|
@ -70,6 +70,7 @@ runtime "${runtime}"`;
|
|||
}
|
||||
|
||||
yarnInstall(`build`); // node modules required for build
|
||||
yarnInstall('test/automation'); // node modules required for smoketest
|
||||
yarnInstall('test/smoke'); // node modules required for smoketest
|
||||
yarnInstallBuildDependencies(); // node modules for watching, specific to host node version, not electron
|
||||
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
"version": "0.1.0",
|
||||
"main": "./src/main.js",
|
||||
"scripts": {
|
||||
"preinstall": "yarn --cwd ../automation",
|
||||
"postinstall": "npm run compile",
|
||||
"compile": "tsc",
|
||||
"compile": "yarn --cwd ../automation compile && tsc",
|
||||
"watch": "concurrently \"yarn --cwd ../automation watch --preserveWatchOutput\" \"tsc --watch --preserveWatchOutput\"",
|
||||
"mocha": "mocha"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue