* [codeshift] add proper ignore comments * [codeshift] apply require-to-import transform * [codeshift/fixup] remove duplicate imports * [eslint] upgrade config for react "unused" support * [codeshift] apply remove-unused-imports transform * [codeshift] apply remove-unused-basic-requires transform * [codeshift] apply remove-unused-function-arguments transform * [lintroller] fix argument list spacing * [codeshift] apply remove-unused-basic-bars transform * [codeshift/fixup] fixup unused basic var removals * manually apply remove-unused-assignments transform * [codeshift] reapply remove-unused-imports transform * [codeshift] reapply remove-unused-function-arguments transform * [eslint] autofix param spacing * manually fix remaining no-undef errors * use more descriptive file ignore pattern * add eslint-plugin-react peerDependency * replace values that looked unused in tests * remove // kibana-jscodeshift-no-babel comment * remove import statements from code required by api tests * Remove '// kibana-jscodeshift-ignore' comments * address review feedback * remove remnant of removed if condition
15 lines
361 B
JavaScript
15 lines
361 B
JavaScript
import { resolve } from 'path';
|
|
module.exports = function (grunt) {
|
|
const rootDir = grunt.config.get('root');
|
|
|
|
return [
|
|
['launchd', '10.9'],
|
|
['upstart', '1.5'],
|
|
['systemd', 'default'],
|
|
['sysv', 'lsb-3.1']
|
|
]
|
|
.map(function ([ name, version ]) {
|
|
return { name, version, outputDir: resolve(rootDir, `build/services/${name}`) };
|
|
});
|
|
};
|