1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 20:42:37 +01:00
Radarr/gulp/copy.js

23 lines
621 B
JavaScript
Raw Normal View History

2014-08-28 23:40:18 +02:00
var gulp = require('gulp');
var print = require('gulp-print');
var cache = require('gulp-cached');
var paths = require('./paths.js');
gulp.task('copyJs', function () {
2014-08-30 06:32:09 +02:00
return gulp.src(paths.src.scripts)
.pipe(cache('copyJs'))
.pipe(print())
2014-08-28 23:40:18 +02:00
.pipe(gulp.dest(paths.dest.root));
});
gulp.task('copyIndex', function () {
return gulp.src(paths.src.index)
2014-08-30 06:32:09 +02:00
.pipe(cache('copyIndex'))
2014-08-28 23:40:18 +02:00
.pipe(gulp.dest(paths.dest.root));
});
gulp.task('copyContent', function () {
return gulp.src([paths.src.content + '**/*.*', '!**/*.less'])
.pipe(gulp.dest(paths.dest.content));
});