forked from performant-software/Neatline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
39 lines (27 loc) · 758 Bytes
/
Gruntfile.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
34
35
36
37
38
39
/**
* @package omeka
* @subpackage neatline
* @copyright 2014 Rector and Board of Visitors, University of Virginia
* @license http://www.apache.org/licenses/LICENSE-2.0.html
*/
module.exports = function(grunt) {
// Read configuration files:
var paths = grunt.file.readJSON('paths.json');
var pkg = grunt.file.readJSON('package.json');
// Time the task executions.
require('time-grunt')(grunt);
// Just load the tasks we need.
require('jit-grunt')(grunt, {
bower: 'grunt-bower-task',
gitcommit: 'grunt-git',
gittag: 'grunt-git'
});
// Load the task definitions.
require('load-grunt-config')(grunt, {
loadGruntTasks: false,
data: {
paths: paths,
pkg: pkg
}
});
};