Phantom: screen less files are defined in sonarr.less

This commit is contained in:
Keivan Beigi 2015-08-29 15:19:45 -07:00
parent 66e829f71e
commit 187064101c
2 changed files with 7 additions and 14 deletions

View File

@ -31,20 +31,9 @@ gulp.task('less', function() {
if (phantom) { if (phantom) {
src = [ src = [
paths.src.content + 'bootstrap.less', paths.src.content + 'Bootstrap/bootstrap.less',
paths.src.content + 'theme.less', paths.src.content + 'Vendor/vendor.less',
paths.src.content + 'sonarr.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'
]; ];
} }

View File

@ -7,6 +7,10 @@ var stripBom = function (dest) {
.pipe(stripbom({ showLog: false })) .pipe(stripbom({ showLog: false }))
.pipe(gulp.dest(dest)); .pipe(gulp.dest(dest));
gulp.src(paths.src.less)
.pipe(stripbom({ showLog: false }))
.pipe(gulp.dest(dest));
gulp.src(paths.src.templates) gulp.src(paths.src.templates)
.pipe(stripbom({ showLog: false })) .pipe(stripbom({ showLog: false }))
.pipe(gulp.dest(dest)); .pipe(gulp.dest(dest));