mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +08:00
refactor(build): update build to install with right env for k2 packages
This commit is contained in:
parent
e595590a9a
commit
4593e770cd
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue