grunt-file-compare
v1.0.5
Published
Grunt task to check if a set of files are equal
Downloads
41
Maintainers
Readme
grunt-file-compare
Grunt task to check if a set of files are equal.
Usage
module.exports = function(grunt) {
grunt.initConfig({
file_compare: {
check_suite1: ['suite1/expected/foo.js', 'suite1/actual/foo.js'] // List of files to compare
}
})
grunt.loadNpmTask('grunt-file-compare')
grunt.registerTask('default', ['file_compare'])
}
Options
diffBinary
Type: String
, Default: 'diff'
The binary to execute when comparing files.
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
- v1.0.5 02.25.2015 Better error handling
- v1.0.3 02.25.2015 Even more verbose output
- v1.0.2 02.25.2015 Added more verbose error output
- v1.0.0 02.24.2015 Initial release
License
Copyright (c) 2015 Risto Stevcev. Licensed under the BSD license.