Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gulp-symdiff

Build Status Coverage Status

gulp-symdiff

Installation

$ npm install gulp-symdiff --save-dev

Depending on what you want, you also have to install by your own the symdiff plugins, like:

$ npm install symdiff-html symdiff-css --save-dev

Usage

var symdiff = require('gulp-symdiff'),
    html    = require('symdiff-html'),
    css     = require('symdiff-css');

gulp
    .src(['src/*.css', 'src/*.html'])  // ALL the files
    .pipe(symdiff({
        templates: [html],  // list all templates plugins
        css: [css]          // list all css plugins
    })
    .on('error', function() {
        process.exit(1);    // break the build
    }))

License

Apache 2