mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
22 lines
563 B
JavaScript
22 lines
563 B
JavaScript
var gulp = require('gulp');
|
|
var paths = require('./paths.js');
|
|
var stripbom = require('gulp-stripbom');
|
|
|
|
var stripBom = function (dest) {
|
|
gulp.src([paths.src.scripts, paths.src.exclude.libs])
|
|
.pipe(stripbom({ showLog: false }))
|
|
.pipe(gulp.dest(dest));
|
|
|
|
gulp.src(paths.src.less)
|
|
.pipe(stripbom({ showLog: false }))
|
|
.pipe(gulp.dest(dest));
|
|
|
|
gulp.src(paths.src.templates)
|
|
.pipe(stripbom({ showLog: false }))
|
|
.pipe(gulp.dest(dest));
|
|
};
|
|
|
|
gulp.task('stripBom', function () {
|
|
stripBom(paths.src.root);
|
|
});
|