[client-app] only re-install for optional deps on mac

This commit is contained in:
Evan Morikawa 2017-03-27 16:59:59 -07:00
parent 4ad4596e2f
commit 44e51a0ed5

View file

@ -155,8 +155,10 @@ async function main() {
// `client-app` so `node-mac-notifier` get's correctly installed and // `client-app` so `node-mac-notifier` get's correctly installed and
// included in the build See // included in the build See
// https://github.com/lerna/lerna/issues/121 // https://github.com/lerna/lerna/issues/121
console.log("\n---> Reinstalling client-app dependencies to include optional dependencies"); if (process.platform === "darwin") {
await npm('install', {cwd: 'packages/client-app'}) console.log("\n---> Reinstalling client-app dependencies to include optional dependencies");
await npm('install', {cwd: 'packages/client-app'})
}
await electronRebuild(); await electronRebuild();
linkJasmineConfigs(); linkJasmineConfigs();
linkIsomorphicCoreSpecs(); linkIsomorphicCoreSpecs();