mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 19:43:04 +08:00
fix(build): add output log interval to prevent travis from dying
This commit is contained in:
parent
677b56f714
commit
2e7e8c2d01
2 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue