Skip to content

Commit

Permalink
Fix local build script [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin authored Jan 22, 2020
1 parent 27affad commit cddbdeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var execSync = require('child_process').execSync,

var buildVersion = argv.buildVersion;
if(typeof buildVersion === 'undefined' || buildVersion === null || buildVersion === "") {
buildVersion = require('./package.json').version;
buildVersion = require('../package.json').version;
}

targets.forEach(target => {
execSync('npm run build -- --target=' + target + ' --build-version=' + buildVersion, {stdio: [0, 1, 2]});
});
});

0 comments on commit cddbdeb

Please sign in to comment.