mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
25 lines
618 B
JavaScript
25 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');
|
|
}
|