mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 03:56:33 +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('---> Running build with options:');
|
||||||
console.log(util.inspect(grunt.config.get('packager'), true, 7, true));
|
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) => {
|
packager(grunt.config.get('packager'), (err, appPaths) => {
|
||||||
|
clearInterval(ongoing)
|
||||||
if (err) {
|
if (err) {
|
||||||
grunt.fail.fatal(err);
|
grunt.fail.fatal(err);
|
||||||
return done(err);
|
return done(err);
|
||||||
|
|
|
@ -107,7 +107,6 @@
|
||||||
},
|
},
|
||||||
"packageDependencies": {},
|
"packageDependencies": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"local-ci": "./build/local-ci.sh",
|
|
||||||
"test": "electron . --test --enable-logging",
|
"test": "electron . --test --enable-logging",
|
||||||
"start": "electron . --dev --enable-logging",
|
"start": "electron . --dev --enable-logging",
|
||||||
"lint": "script/grunt lint",
|
"lint": "script/grunt lint",
|
||||||
|
|
Loading…
Reference in a new issue