2017-08-21 20:03:16 +00:00
|
|
|
var gulp = require('gulp');
|
|
|
|
|
|
|
|
var pump = require('pump');
|
|
|
|
|
|
|
|
var extrasConfig = require('../config.js').extrasConfig;
|
|
|
|
|
|
|
|
|
2017-10-23 19:13:11 +00:00
|
|
|
gulp.task('extras', ['extras:fonts', 'extras:root']);
|
2017-08-21 20:03:16 +00:00
|
|
|
|
|
|
|
gulp.task('extras:fonts', function(cb) {
|
|
|
|
pump([
|
2017-10-23 19:13:11 +00:00
|
|
|
gulp.src(extrasConfig.fonts.files),
|
2017-08-21 20:03:16 +00:00
|
|
|
gulp.dest(extrasConfig.fonts.dest)
|
|
|
|
], cb);
|
|
|
|
});
|
2017-10-23 19:13:11 +00:00
|
|
|
|
|
|
|
gulp.task('extras:root', function(cb) {
|
|
|
|
pump([
|
|
|
|
gulp.src(extrasConfig.root.files),
|
|
|
|
gulp.dest(extrasConfig.root.dest)
|
|
|
|
], cb);
|
|
|
|
});
|