gulp-copy2

0.2.0 • Public • Published

gulp-copy2

gulp Plugin which copying files according to supply paths

Usage

var copy2 = require('./index');

gulp.task('copy', function () {
    var paths = [
        {src: 'test/a/a.txt', dest: 'test/c/'},
        {src: 'test/b/b.txt', dest: 'test/c/d.txt'},
        {src: 'test/b/*.*', dest: 'test/d/'},
        {src: 'test/c/*.*', dest: 'test/d/'}
    ];
    return copy2(paths);
});

Releases

0.0.2 Streams release

  • based on nodejs stream, use gulp-rename;
  • use path dispose dirname, gulp-util logging;

0.0.1 Initial release

  • initial code

/gulp-copy2/

    Package Sidebar

    Install

    npm i gulp-copy2

    Weekly Downloads

    14

    Version

    0.2.0

    License

    ISC

    Last publish

    Collaborators

    • oglen