fixed some coding standards in Gruntfile.js

This commit is contained in:
claudiosmweb 2014-07-30 14:23:34 -03:00
parent 2e0182c3b3
commit afb8753f3f
1 changed files with 8 additions and 8 deletions

View File

@ -89,14 +89,14 @@ module.exports = function( grunt ){
watch: {
less: {
files: ['<%= dirs.css %>/*.less'],
tasks: ['less', 'cssmin'],
tasks: ['less', 'cssmin']
},
js: {
files: [
'<%= dirs.js %>/admin/*js',
'<%= dirs.js %>/frontend/*js',
'!<%= dirs.js %>/admin/*.min.js',
'!<%= dirs.js %>/frontend/*.min.js',
'!<%= dirs.js %>/frontend/*.min.js'
],
tasks: ['uglify']
}
@ -140,7 +140,7 @@ module.exports = function( grunt ){
dest: 'deploy',
expand: true,
dot: true
},
}
},
clean: {
@ -149,7 +149,7 @@ module.exports = function( grunt ){
},
deploy: {
src: [ 'deploy' ]
},
}
}
});
@ -175,7 +175,7 @@ module.exports = function( grunt ){
]);
grunt.registerTask( 'docs', [
'clean:apigen',
'clean:apigen',
'shell:apigen'
]);
@ -184,8 +184,8 @@ module.exports = function( grunt ){
'pot'
]);
grunt.registerTask( 'deploy', [
'clean:deploy',
grunt.registerTask( 'deploy', [
'clean:deploy',
'copy:deploy'
]);
};
};