From 187064101c60868a20dda96eba754bbeab1d011d Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Sat, 29 Aug 2015 15:19:45 -0700 Subject: [PATCH] Phantom: screen less files are defined in sonarr.less --- gulp/less.js | 17 +++-------------- gulp/stripBom.js | 4 ++++ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/gulp/less.js b/gulp/less.js index 0877c94f8..a1e008380 100644 --- a/gulp/less.js +++ b/gulp/less.js @@ -31,20 +31,9 @@ gulp.task('less', function() { if (phantom) { src = [ - paths.src.content + 'bootstrap.less', - paths.src.content + 'theme.less', - paths.src.content + 'sonarr.less', - paths.src.content + 'overrides.less', - paths.src.root + 'Series/series.less', - paths.src.root + 'Activity/activity.less', - paths.src.root + 'AddSeries/AddSeries.less', - paths.src.root + 'Calendar/calendar.less', - paths.src.root + 'Cells/cells.less', - paths.src.root + 'ManualImport/manualimport.less', - paths.src.root + 'Settings/settings.less', - paths.src.root + 'System/Logs/logs.less', - paths.src.root + 'System/Update/update.less', - paths.src.root + 'System/Info/info.less' + paths.src.content + 'Bootstrap/bootstrap.less', + paths.src.content + 'Vendor/vendor.less', + paths.src.content + 'sonarr.less' ]; } diff --git a/gulp/stripBom.js b/gulp/stripBom.js index 7ee54e230..085e6b753 100644 --- a/gulp/stripBom.js +++ b/gulp/stripBom.js @@ -7,6 +7,10 @@ var stripBom = function (dest) { .pipe(stripbom({ showLog: false })) .pipe(gulp.dest(dest)); + gulp.src(paths.src.less) + .pipe(stripbom({ showLog: false })) + .pipe(gulp.dest(dest)); + gulp.src(paths.src.templates) .pipe(stripbom({ showLog: false })) .pipe(gulp.dest(dest));