refactor(build): update build to install with right env for k2 packages

This commit is contained in:
Evan Morikawa 2016-12-06 12:31:54 -08:00
parent e595590a9a
commit 4593e770cd

View file

@ -78,4 +78,7 @@ npm('install', {cwd: 'build'})
.then(() => npm('dedupe', {cwd: '.', env: 'electron'}))
.then(() => npm('install', {cwd: path.join('src', 'K2'), env: 'electron'}))
.then(() => npm('dedupe', {cwd: path.join('src', 'K2'), env: 'electron'}))
.then(() => npm('rebuild', {cwd: path.join('src', 'K2', 'packages', 'cloud-core'), env: 'system'}))
.then(() => npm('rebuild', {cwd: path.join('src', 'K2', 'packages', 'cloud-api'), env: 'system'}))
.then(() => npm('rebuild', {cwd: path.join('src', 'K2', 'packages', 'cloud-workers'), env: 'system'}))
.then(() => installPrivateResources())