solarmosaic / gulp-task-copy

Gulp task that copies files with glob pattern matching support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-task-copy

Copies files using vinyl-fs. Supports glob pattern matching.

Install

npm install --save mosaic-gulp-task-copy

Usage

var gulp = require("gulp");
var copy = require("mosaic-gulp-task-copy");

// Copy vendor files from bower components to the public folder
gulp.task("copy", copy([
  {
    src: "bower_components/bootstrap-sass/assets/stylesheets/bootstrap{,/**/*.scss}",
    dest: "public/vendor/styles"
  },
  {
    src: "bower_components/bootstrap-sass/assets/javascripts/**/*.js",
    dest: "public/vendor/scripts"
  }
]));

License

MIT

About

Gulp task that copies files with glob pattern matching support.

License:MIT License


Languages

Language:JavaScript 100.0%