From 031fa146e6a6b29f079e02a3a2ce165741ef77e5 Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Mon, 10 Feb 2014 15:29:41 +0100 Subject: [PATCH] Gruntfile WP deploy script cleanup --- Gruntfile.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index a2b02f5f2ba..a8e93f122d3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -151,17 +151,7 @@ module.exports = function( grunt ){ deploy: { src: [ 'deploy' ] }, - }, - - wp_deploy: { - deploy: { - options: { - plugin_slug: 'woocommerce', - build_dir: 'deploy' - }, - } - } - + } }); // Load NPM tasks to be used here @@ -172,7 +162,6 @@ module.exports = function( grunt ){ grunt.loadNpmTasks( 'grunt-contrib-watch' ); grunt.loadNpmTasks( 'grunt-contrib-copy' ); grunt.loadNpmTasks( 'grunt-contrib-clean' ); - grunt.loadNpmTasks( 'grunt-wp-deploy' ); // Register tasks grunt.registerTask( 'default', [ @@ -194,8 +183,7 @@ module.exports = function( grunt ){ grunt.registerTask( 'deploy', [ 'clean:deploy', - 'copy:deploy', - 'wp_deploy' + 'copy:deploy' ]); };