forked from handsontable/handsontable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrunt.js
33 lines (32 loc) · 839 Bytes
/
grunt.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* This file is used to build ``jquery.handsontable.js` from `src/*`
*
* Usage: Install Grunt, then go to repo main directory and execute `grunt`
* To execute automatically after each change, execute `grunt --force default watch`
*
* 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',
'src/jquery.mousewheel.js'
],
dest: 'jquery.handsontable.js'
}
},
watch: {
files: ['<config:concat.dist.src>'],
tasks: 'concat'
}
});
// Default task.
grunt.registerTask('default', 'concat');
};