mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 15:23:40 -07:00
switched from grunt to gulp
This commit is contained in:
parent
5cfe2c0186
commit
4d23b2cac3
23 changed files with 861 additions and 561 deletions
30
gulp/less.js
Normal file
30
gulp/less.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
var gulp = require('gulp');
|
||||
var less = require('gulp-less');
|
||||
var print = require('gulp-print');
|
||||
|
||||
var paths = require('./paths');
|
||||
|
||||
gulp.task('less', function () {
|
||||
return gulp.src([
|
||||
paths.src.content + 'bootstrap.less',
|
||||
paths.src.content + 'theme.less',
|
||||
paths.src.content + 'overrides.less',
|
||||
paths.src.root + 'Series/series.less',
|
||||
paths.src.root + 'History/history.less',
|
||||
paths.src.root + 'AddSeries/addSeries.less',
|
||||
paths.src.root + 'Calendar/calendar.less',
|
||||
paths.src.root + 'Cells/cells.less',
|
||||
paths.src.root + 'Settings/settings.less',
|
||||
paths.src.root + 'System/Logs/logs.less',
|
||||
paths.src.root + 'System/Update/update.less',
|
||||
])
|
||||
.pipe(print())
|
||||
.pipe(less({
|
||||
dumpLineNumbers: 'false',
|
||||
compress: true,
|
||||
yuicompress: true,
|
||||
ieCompat: true,
|
||||
strictImports: true
|
||||
}))
|
||||
.pipe(gulp.dest(paths.dest.content));
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue