Copy fonts over for bootstrap
This commit is contained in:
parent
9d1f3a3355
commit
fba381a3b9
@ -24,6 +24,9 @@ var paths = {
|
||||
'./bower_components/bootstrap-select/dist/css/bootstrap-select.css',
|
||||
'./css/*.css'
|
||||
],
|
||||
fonts: [
|
||||
'./bower_components/bootstrap/fonts/*'
|
||||
],
|
||||
html: [
|
||||
'./html/*.html'
|
||||
]
|
||||
@ -35,6 +38,11 @@ gulp.task('lint', function() {
|
||||
.pipe(jshint.reporter('default'));
|
||||
});
|
||||
|
||||
gulp.task('fonts', function() {
|
||||
return gulp.src(paths.fonts)
|
||||
.pipe(gulp.dest('./fonts'));
|
||||
});
|
||||
|
||||
gulp.task('js', function() {
|
||||
return gulp.src(paths.js)
|
||||
.pipe(concat('scripts.js'))
|
||||
@ -69,6 +77,6 @@ gulp.task('watch_debug', function() {
|
||||
});
|
||||
|
||||
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']);
|
||||
|
Loading…
Reference in New Issue
Block a user