More logical Gruntfile ordering

This commit is contained in:
Vit Brunner
2014-11-11 23:53:10 +01:00
parent acf1f3f4dc
commit 37a22b2a7a
+14 -14
View File
@@ -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'