mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
Grunt coffee with smartness
This commit is contained in:
+5
-10
@@ -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/*' ]
|
||||
|
||||
Reference in New Issue
Block a user