Skip to content

Commit

Permalink
Merge pull request desktop#3244 from desktop/tweak-build-to-use-yarn
Browse files Browse the repository at this point in the history
port build script to use yarn for keeping bundled node_modules in sync
  • Loading branch information
niik authored Nov 8, 2017
2 parents d1e8781 + 847b312 commit 5683886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ function copyDependencies() {
Object.keys(newDependencies).length ||
Object.keys(newDevDependencies).length
) {
console.log(' Installing npm dependencies…')
cp.execSync('npm install', { cwd: outRoot, env: process.env })
console.log(' Installing dependencies via yarn…')
cp.execSync('yarn install', { cwd: outRoot, env: process.env })
}

if (!isPublishableBuild) {
Expand Down

0 comments on commit 5683886

Please sign in to comment.