mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-06 08:08:10 +08:00
17 lines
536 B
JavaScript
17 lines
536 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');
|
|
};
|