forked from elmarquez/ngSolr
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Gruntfile.js
29 lines (25 loc) · 897 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
'use strict';
var Path = require('path');
module.exports = function (grunt) {
// Load the Grunt task definitions and configurations from the /conf/grunt
// folder.
require('load-grunt-config')(grunt, {
init: true,
configPath: Path.join(process.cwd(), 'conf', 'grunt'),
loadGruntTasks: {
pattern: 'grunt-*',
config: require('./package.json'),
scope: 'devDependencies'
}
});
grunt.config('pkg', grunt.file.readJSON('package.json'));
// Set global options
grunt.config('bower_components','vendor');
grunt.config('buildTimeStamp', new Date().toISOString());
grunt.config('conf','conf');
grunt.config('dist','dist');
grunt.config('src','src');
// load application manifest
var manifest = grunt.file.readJSON('conf/manifest.json');
grunt.config.set('manifest', manifest);
};