Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1007 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 1007 Bytes

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