1.0.5 • Published 10 years ago

grunt-file-compare v1.0.5

Weekly downloads
14
License
BSD
Repository
github
Last release
10 years ago

grunt-file-compare

Build Info Dev Dependencies Coverage Info Npm Version Npm Downloads

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.

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago