mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
26 lines
618 B
JavaScript
26 lines
618 B
JavaScript
|
module.exports = (grunt) => {
|
||
|
grunt.config.merge({
|
||
|
coffeelint: {
|
||
|
'options': {
|
||
|
configFile: 'build/config/coffeelint.json',
|
||
|
},
|
||
|
'src': grunt.config('source:coffeescript'),
|
||
|
'build': [
|
||
|
'build/tasks/**/*.coffee',
|
||
|
],
|
||
|
'test': [
|
||
|
'spec/**/*.cjsx',
|
||
|
'spec/**/*.coffee',
|
||
|
],
|
||
|
'static': [
|
||
|
'static/**/*.coffee',
|
||
|
'static/**/*.cjsx',
|
||
|
],
|
||
|
'target': (grunt.option("target") ? grunt.option("target").split(" ") : []),
|
||
|
},
|
||
|
});
|
||
|
|
||
|
grunt.loadNpmTasks('grunt-contrib-coffee');
|
||
|
grunt.loadNpmTasks('grunt-coffeelint-cjsx');
|
||
|
}
|