grunt.js
module.exports = function(grunt) {
grunt.initConfig({
coffee: {
'webroot/js/app.js': [
'web-assets/coffee/app-view.coffee',
'web-assets/coffee/app-model.coffee'
],
'webroot/js/common.js': [
'web-assets/coffee/common.coffee'
]
}
});
// gruntタスクライブラリを読み込み
grunt.loadNpmTasks('grunt-contrib');
// デフォルトで実行するタスク
grunt.registerTask('default', 'coffee');
};