Grunt coffee with smartness

This commit is contained in:
Vit Brunner
2014-11-11 23:46:55 +01:00
parent c4e5f84e8b
commit 796b71a24f
+5 -10
View File
@@ -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/*' ]