gulp-incbuild

0.0.1 • Public • Published

gulp-incbuild

A gulp plugin with incrementify for helping developer generate increment file between two versions of a given file base on old version.

Usage

var paths = {
  files: ['garbage/**/*.js'],     // src files
  last_dir: './dist/production',  // the last version of project
  inc_dir: './dist/release'       // where inc files could be saved
};
gulp.task('incbuild', ['clean'], function() {
  return gulp.src(paths.files, {
      base: './'
    })
    .pipe(inc({
      last_dir: paths.last_dir,
      inc_dir: paths.inc_dir
    }))

    .pipe(gulp.dest('./dist/release'));
});

License

The MIT License (MIT)

Package Sidebar

Install

npm i gulp-incbuild

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • yleo77