removed deploy task from grunt

This commit is contained in:
claudiosmweb 2014-10-07 12:45:24 -03:00
parent c6c5265493
commit 7e51e73a31
2 changed files with 0 additions and 32 deletions

View File

@ -197,35 +197,10 @@ module.exports = function( grunt ) {
}
},
// Copy files to deploy.
copy: {
deploy: {
src: [
'**',
'!.*',
'!*.md',
'!.*/**',
'.htaccess',
'!Gruntfile.js',
'!sftp-config.json',
'!package.json',
'!node_modules/**',
'!wc-apidocs/**',
'!apigen/**'
],
dest: 'deploy',
expand: true,
dot: true
}
},
// Clean the directory.
clean: {
apigen: {
src: [ 'wc-apidocs' ]
},
deploy: {
src: [ 'deploy' ]
}
}
});
@ -237,7 +212,6 @@ module.exports = function( grunt ) {
grunt.loadNpmTasks( 'grunt-contrib-sass' );
grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-contrib-copy' );
grunt.loadNpmTasks( 'grunt-contrib-clean' );
grunt.loadNpmTasks( 'grunt-wp-i18n' );
grunt.loadNpmTasks( 'grunt-checktextdomain' );
@ -262,9 +236,4 @@ module.exports = function( grunt ) {
'default',
'makepot'
]);
grunt.registerTask( 'deploy', [
'clean:deploy',
'copy:deploy'
]);
};

View File

@ -12,7 +12,6 @@
"grunt": "~0.4.5",
"grunt-checktextdomain": "^0.1.1",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-cssmin": "~0.10.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "~0.5.1",