From 796b71a24f02afef2d49ca7e5d8fef02b2d798e4 Mon Sep 17 00:00:00 2001 From: Vit Brunner Date: Tue, 11 Nov 2014 23:46:55 +0100 Subject: [PATCH] Grunt coffee with smartness --- Gruntfile.coffee | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 05f4654..803f188 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -103,16 +103,6 @@ module.exports = (grunt) -> grunt.initConfig { pkg: grunt.file.readJSON 'package.json' - coffee: { - main: { - expand: true - cwd: 'source' - src: '**/*.coffee' - dest: 'build' - ext: '.js' - } - } - connect: { main: { options: { @@ -182,6 +172,11 @@ module.exports = (grunt) -> params , {}) + grunt.config 'coffee', add([['main', { + src: '**/*.coffee' + ext: '.js' + }]]) + grunt.config 'copy', add([ [ 'main', { src: [ '.htaccess', 'tests/the_raven/*' ]