kibana/tasks/config/services.js

15 lines
367 B
JavaScript
Raw Normal View History

import { resolve } from 'path';
2015-08-14 06:16:54 +02:00
module.exports = function (grunt) {
const rootDir = grunt.config.get('root');
return [
2015-08-14 06:16:54 +02:00
['launchd', '10.9'],
['upstart', '1.5'],
['systemd', 'default'],
['sysv', 'lsb-3.1']
]
.map(function ([ name, version ]) {
return { name, version, outputDir: resolve(rootDir, `tasks/build/services/${name}`) };
2015-08-14 06:16:54 +02:00
});
};