mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 08:15:27 +00:00
Phantom: screen less files are defined in sonarr.less
This commit is contained in:
parent
66e829f71e
commit
187064101c
2 changed files with 7 additions and 14 deletions
17
gulp/less.js
17
gulp/less.js
|
@ -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…
Reference in a new issue