1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00
Sonarr/gulp/copy.js

28 lines
721 B
JavaScript
Raw Normal View History

2014-08-28 21:40:18 +00:00
var gulp = require('gulp');
var print = require('gulp-print');
var cache = require('gulp-cached');
var paths = require('./paths.js');
gulp.task('copyJs', function () {
2015-02-03 01:18:45 +00:00
return gulp.src(
[
paths.src.root + "polyfills.js",
2015-02-17 06:47:29 +00:00
paths.src.root + "JsLibraries/handlebars.runtime.js",
2015-02-03 01:18:45 +00:00
])
2014-08-30 04:32:09 +00:00
.pipe(cache('copyJs'))
.pipe(print())
2014-08-28 21:40:18 +00:00
.pipe(gulp.dest(paths.dest.root));
});
2015-01-26 02:03:21 +00:00
gulp.task('copyHtml', function () {
return gulp.src(paths.src.html)
.pipe(cache('copyHtml'))
2014-08-28 21:40:18 +00:00
.pipe(gulp.dest(paths.dest.root));
});
gulp.task('copyContent', function () {
return gulp.src([paths.src.content + '**/*.*', '!**/*.less'])
.pipe(gulp.dest(paths.dest.content));
2015-01-26 02:03:21 +00:00
});