Skip to content

Commit 1870641

Browse files
committed
Phantom: screen less files are defined in sonarr.less
1 parent 66e829f commit 1870641

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

gulp/less.js

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,9 @@ gulp.task('less', function() {
3131

3232
if (phantom) {
3333
src = [
34-
paths.src.content + 'bootstrap.less',
35-
paths.src.content + 'theme.less',
36-
paths.src.content + 'sonarr.less',
37-
paths.src.content + 'overrides.less',
38-
paths.src.root + 'Series/series.less',
39-
paths.src.root + 'Activity/activity.less',
40-
paths.src.root + 'AddSeries/AddSeries.less',
41-
paths.src.root + 'Calendar/calendar.less',
42-
paths.src.root + 'Cells/cells.less',
43-
paths.src.root + 'ManualImport/manualimport.less',
44-
paths.src.root + 'Settings/settings.less',
45-
paths.src.root + 'System/Logs/logs.less',
46-
paths.src.root + 'System/Update/update.less',
47-
paths.src.root + 'System/Info/info.less'
34+
paths.src.content + 'Bootstrap/bootstrap.less',
35+
paths.src.content + 'Vendor/vendor.less',
36+
paths.src.content + 'sonarr.less'
4837
];
4938
}
5039

gulp/stripBom.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ var stripBom = function (dest) {
77
.pipe(stripbom({ showLog: false }))
88
.pipe(gulp.dest(dest));
99

10+
gulp.src(paths.src.less)
11+
.pipe(stripbom({ showLog: false }))
12+
.pipe(gulp.dest(dest));
13+
1014
gulp.src(paths.src.templates)
1115
.pipe(stripbom({ showLog: false }))
1216
.pipe(gulp.dest(dest));

0 commit comments

Comments
 (0)