You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sonarr/gulp/copy.js

23 lines
621 B

var gulp = require('gulp');
var print = require('gulp-print');
var cache = require('gulp-cached');
var paths = require('./paths.js');
gulp.task('copyJs', function () {
10 years ago
return gulp.src(paths.src.scripts)
.pipe(cache('copyJs'))
.pipe(print())
.pipe(gulp.dest(paths.dest.root));
});
gulp.task('copyIndex', function () {
return gulp.src(paths.src.index)
10 years ago
.pipe(cache('copyIndex'))
.pipe(gulp.dest(paths.dest.root));
});
gulp.task('copyContent', function () {
return gulp.src([paths.src.content + '**/*.*', '!**/*.less'])
.pipe(gulp.dest(paths.dest.content));
});