fix(build): add output log interval to prevent travis from dying

This commit is contained in:
Evan Morikawa 2017-01-24 14:27:32 -05:00
parent 677b56f714
commit 2e7e8c2d01
2 changed files with 7 additions and 1 deletions

View file

@ -264,7 +264,14 @@ module.exports = (grunt) => {
console.log('---> Running build with options:');
console.log(util.inspect(grunt.config.get('packager'), true, 7, true));
let time = 1;
const ongoing = setInterval(() => {
console.log(`---> Packaging for ${time}s`);
time += 1;
}, 1000)
packager(grunt.config.get('packager'), (err, appPaths) => {
clearInterval(ongoing)
if (err) {
grunt.fail.fatal(err);
return done(err);

View file

@ -107,7 +107,6 @@
},
"packageDependencies": {},
"scripts": {
"local-ci": "./build/local-ci.sh",
"test": "electron . --test --enable-logging",
"start": "electron . --dev --enable-logging",
"lint": "script/grunt lint",