diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 8ff45d6..b5abab7 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -141,6 +141,15 @@ module.exports = (grunt) -> } } + uglify: { + min: { + files: { + 'build-min/scripts/all_min.js': ('build/' + script for script in vars.scripts) + 'build-min/scripts/test_min.js': ('build/' + script for script in vars.test_scripts) + } + } + } + qunit: { main: { options: { @@ -151,22 +160,8 @@ module.exports = (grunt) -> } } } - - uglify: { - min: { - files: { - 'build-min/scripts/all_min.js': ('build/' + script for script in vars.scripts) - 'build-min/scripts/test_min.js': ('build/' + script for script in vars.test_scripts) - } - } - } } - grunt.config 'coffee', add([['main', { - src: '**/*.coffee' - ext: '.js' - }]]) - grunt.config 'copy', add([ [ 'main', { src: [ '.htaccess', 'tests/the_raven/*' ] @@ -200,6 +195,11 @@ module.exports = (grunt) -> ext: '.html' }) + grunt.config 'coffee', add([['main', { + src: '**/*.coffee' + ext: '.js' + }]]) + grunt.config 'stylus', add([['main', { src: '**/*.styl' ext: '.css'