mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
More logical Gruntfile ordering
This commit is contained in:
+14
-14
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user