From 07040d91e35302493b87ca3ab2ca3da89391528b Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Fri, 18 May 2018 21:50:13 +1200 Subject: [PATCH] Added gulp-exit to make gulp finish in timely manner. --- gulpfile.js | 7 ++++--- package-lock.json | 8 +++++++- package.json | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d539afbf..8f8bd551 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,6 +19,7 @@ const concat = require('gulp-concat'); const install = require("gulp-install"); const rename = require('gulp-rename'); const os = require('os'); +const exit = require('gulp-exit'); const DIST_DIR = './dist/'; const APPS_DIR = './apps/'; @@ -404,7 +405,7 @@ function release_deb(arch, done) { _out: RELEASE_DIR, _copyright: 'assets/linux/copyright', _clean: true - })); + })); } function release_rpm(arch, done) { @@ -496,8 +497,8 @@ function release_osx64() { } } }, - }) - ); + })) + .pipe(exit()); } // Create the dir directory, with write permissions diff --git a/package-lock.json b/package-lock.json index b5cba421..03c939df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2579,6 +2579,12 @@ "title-case": "^2.1.0" } }, + "gulp-exit": { + "version": "0.0.2", + "resolved": "http://npm.chc.tlocal/gulp-exit/-/gulp-exit-0.0.2.tgz", + "integrity": "sha1-CCMTVIaDrQqwXUMNelYzMNTmE3A=", + "dev": true + }, "gulp-install": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/gulp-install/-/gulp-install-1.1.0.tgz", @@ -3512,7 +3518,7 @@ }, "lru_map": { "version": "0.3.3", - "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", + "resolved": "http://npm.chc.tlocal/lru_map/-/lru_map-0.3.3.tgz", "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" }, "make-iterator": { diff --git a/package.json b/package.json index 139181d8..b05a6391 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "gulp": "~4.0.0", "gulp-concat": "~2.6.1", "gulp-debian": "~0.1.8", + "gulp-exit": "0.0.2", "gulp-install": "^1.1.0", "gulp-rename": "~1.2.2", "gulp-zip": "^4.1.0",