Socket
Book a DemoInstallSign in
Socket

gulp-incbuild

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-incbuild

inc build tools

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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)

Keywords

gulp

FAQs

Package last updated on 10 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts