forked from handsontable/handsontable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrunt.js
More file actions
24 lines (23 loc) · 646 Bytes
/
grunt.js
File metadata and controls
24 lines (23 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* 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/undoRedo.js', 'src/blockedRows.js', 'src/blockedCols.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');
};