1

Copy fonts over for bootstrap

This commit is contained in:
Alex Yatskov 2014-10-01 20:02:27 +09:00
parent 9d1f3a3355
commit fba381a3b9

View File

@ -24,6 +24,9 @@ var paths = {
'./bower_components/bootstrap-select/dist/css/bootstrap-select.css', './bower_components/bootstrap-select/dist/css/bootstrap-select.css',
'./css/*.css' './css/*.css'
], ],
fonts: [
'./bower_components/bootstrap/fonts/*'
],
html: [ html: [
'./html/*.html' './html/*.html'
] ]
@ -35,6 +38,11 @@ gulp.task('lint', function() {
.pipe(jshint.reporter('default')); .pipe(jshint.reporter('default'));
}); });
gulp.task('fonts', function() {
return gulp.src(paths.fonts)
.pipe(gulp.dest('./fonts'));
});
gulp.task('js', function() { gulp.task('js', function() {
return gulp.src(paths.js) return gulp.src(paths.js)
.pipe(concat('scripts.js')) .pipe(concat('scripts.js'))
@ -69,6 +77,6 @@ gulp.task('watch_debug', function() {
}); });
gulp.task('debug', ['lint', 'html_debug']); gulp.task('debug', ['lint', 'html_debug']);
gulp.task('release', ['lint', 'js', 'css', 'html_release']); gulp.task('release', ['lint', 'fonts', 'js', 'css', 'html_release']);
gulp.task('default', ['html_debug', 'watch_debug']); gulp.task('default', ['html_debug', 'watch_debug']);