Skip to content

symdiff/gulp-symdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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