* [eslint] enable no-var and autofix * [eslint] enable prefer-const and autofix * [eslint] fix autofix-incompatible no-var and prefer-const violations
15 lines
368 B
JavaScript
15 lines
368 B
JavaScript
module.exports = function (grunt) {
|
|
const { resolve } = require('path');
|
|
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}`) };
|
|
});
|
|
};
|