Phantom: screen less files are defined in sonarr.less

pull/2/head
Keivan Beigi 9 years ago
parent 66e829f71e
commit 187064101c

@ -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'
]; ];
} }

@ -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));

Loading…
Cancel
Save