/**
 * This file is used to build ``jquery.handsontable.js` from `src/*`
 *
 * Usage: Install Grunt, then go to repo main directory and execute `grunt`
 *
 * See https://github.com/cowboy/grunt for more information
 */
module.exports = function (grunt) {
  grunt.initConfig({
    concat: {
      dist: {
        src: ['src/core.js', 'src/rowHeader.js', 'src/colHeader.js'],
        dest: 'jquery.handsontable.js'
      }
    }
  });

  // Default task.
  grunt.registerTask('default', 'concat');
};
/**
 * This file is used to build ``jquery.handsontable.js` from `src/*`
 *
 * Usage: Install Grunt, then go to repo main directory and execute `grunt`
 *
 * See https://github.com/cowboy/grunt for more information
 */
module.exports = function (grunt) {
  grunt.initConfig({
    concat: {
      dist: {
        src: ['src/core.js', 'src/rowHeader.js', 'src/colHeader.js'],
        dest: 'jquery.handsontable.js'
      }
    },
    watch: {
      files: ['<config:concat.dist.src>'],
      tasks: 'concat'
    }
  });

  // Default task.
  grunt.registerTask('default', 'concat');
};
enable grunt watch mode (grunt --force default watch)