aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.babel.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-03 17:15:16 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-03 11:45:16 +0000
commite1ab7202cd678ca986f7aeb95861709be59e0a2e (patch)
tree57e648a71f37a2203f2598fa66dc1efc5a2703ff /gulpfile.babel.js
parentNew Crowdin updates (#1336) (diff)
downloadferdium-app-e1ab7202cd678ca986f7aeb95861709be59e0a2e.tar.gz
ferdium-app-e1ab7202cd678ca986f7aeb95861709be59e0a2e.tar.zst
ferdium-app-e1ab7202cd678ca986f7aeb95861709be59e0a2e.zip
Added more logging for CI builds to debug errors (#1329)
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r--gulpfile.babel.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index 6a788a9ae..782b56406 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -11,10 +11,9 @@ import connect from 'gulp-connect';
11import { exec } from 'child_process'; 11import { exec } from 'child_process';
12import dotenv from 'dotenv'; 12import dotenv from 'dotenv';
13import sassVariables from 'gulp-sass-variables'; 13import sassVariables from 'gulp-sass-variables';
14import { moveSync, removeSync } from 'fs-extra'; 14import { removeSync } from 'fs-extra';
15import kebabCase from 'kebab-case'; 15import kebabCase from 'kebab-case';
16import hexRgb from 'hex-rgb'; 16import hexRgb from 'hex-rgb';
17import path from 'path';
18 17
19import config from './package.json'; 18import config from './package.json';
20 19
@@ -80,6 +79,7 @@ const paths = {
80 }, 79 },
81}; 80};
82 81
82// eslint-disable-next-line no-unused-vars
83function _shell(cmd, cb) { 83function _shell(cmd, cb) {
84 console.log('executing', cmd); 84 console.log('executing', cmd);
85 exec( 85 exec(
@@ -136,7 +136,7 @@ export function html() {
136 .src(paths.html.src, { since: gulp.lastRun(html) }) 136 .src(paths.html.src, { since: gulp.lastRun(html) })
137 .pipe(gulpIf(process.env.NODE_ENV !== 'development', htmlMin({ // Only minify in production to speed up dev builds 137 .pipe(gulpIf(process.env.NODE_ENV !== 'development', htmlMin({ // Only minify in production to speed up dev builds
138 collapseWhitespace: true, 138 collapseWhitespace: true,
139 removeComments: true 139 removeComments: true,
140 }))) 140 })))
141 .pipe(gulp.dest(paths.html.dest)) 141 .pipe(gulp.dest(paths.html.dest))
142 .pipe(connect.reload()); 142 .pipe(connect.reload());
@@ -224,7 +224,7 @@ export function watch() {
224export function webserver() { 224export function webserver() {
225 connect.server({ 225 connect.server({
226 root: paths.dest, 226 root: paths.dest,
227 livereload: true 227 livereload: true,
228 }); 228 });
229} 229}
230 230