mirror of https://gitee.com/bigwinds/arangodb
11 lines
341 B
JavaScript
11 lines
341 B
JavaScript
module.exports = function (grunt) {
|
|
grunt.registerTask('component', function () {
|
|
var config = JSON.parse(grunt.file.read('component.json'));
|
|
|
|
config.files = grunt.file.expand('lang/*.js');
|
|
config.files.unshift('moment.js');
|
|
|
|
grunt.file.write('component.json', JSON.stringify(config, true, 2));
|
|
});
|
|
}
|