2014-02-11 00:09:04 +01:00
|
|
|
/* jshint node:true */
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
// load plugins
|
|
|
|
require('load-grunt-config')(grunt, {
|
|
|
|
configPath: __dirname + '/tasks/config',
|
|
|
|
init: true,
|
|
|
|
config: {
|
|
|
|
root: __dirname,
|
|
|
|
src: __dirname + '/src',
|
|
|
|
app: __dirname + '/src/kibana',
|
|
|
|
unitTestDir: __dirname + '/test/unit',
|
2014-02-13 23:33:21 +01:00
|
|
|
testUtilsDir: __dirname + '/test/utils',
|
2014-05-07 22:04:52 +02:00
|
|
|
bowerComponentsDir: __dirname + '/src/bower_components',
|
|
|
|
|
|
|
|
k4d3Repo: 'git@github.com:elasticsearch/K4D3.git',
|
|
|
|
k4d3Dir: '<%= bowerComponentsDir %>/K4D3',
|
|
|
|
esjsRepo: 'git@github.com:elasticsearch/elasticsearch-js.git',
|
|
|
|
esjsDir: '<%= bowerComponentsDir %>/elasticsearch',
|
|
|
|
|
2014-02-11 00:09:04 +01:00
|
|
|
meta: {
|
|
|
|
banner: '/*! <%= package.name %> - v<%= package.version %> - ' +
|
|
|
|
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
|
|
|
|
'<%= package.homepage ? " * " + package.homepage + "\\n" : "" %>' +
|
|
|
|
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= package.author.company %>;' +
|
|
|
|
' Licensed <%= package.license %> */\n'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
// load task definitions
|
|
|
|
grunt.loadTasks('tasks');
|
|
|
|
};
|