提交 3d087427 编写于 作者: J Jason Ginchereau

Add automation to root postinstall script

上级 883bf518
......@@ -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"
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册