Created
February 11, 2016 22:42
-
-
Save fmagrosoto/d87f9ea1f91b61585d7f to your computer and use it in GitHub Desktop.
Tarea de GULP para copiar todos los archivos minificados de Bootstrap y jQuery a una carpeta de algún proyecto en Node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
gulp.task('bootCss',function(){ | |
gulp.src('bower_components/bootstrap/dist/css/bootstrap.min.css') | |
.pipe(gulp.dest('Dist/css/')); | |
}); | |
gulp.task('bootJs',function(){ | |
gulp.src('bower_components/bootstrap/dist/js/bootstrap.min.js') | |
.pipe(gulp.dest('Dist/js/')); | |
}); | |
gulp.task('jQuery',function(){ | |
gulp.src('bower_components/jquery/dist/jquery.min.js') | |
.pipe(gulp.dest('Dist/js/')); | |
}); | |
gulp.task('fonts',function(){ | |
gulp.src('bower_components/bootstrap/dist/fonts/*.*') | |
.pipe(gulp.dest('Dist/fonts/')); | |
}); | |
gulp.task('pasarBoo',['bootCss','bootJs','jQuery','fonts']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment