From 302824ce0c35ae2fcd19548ba992eb97704a664e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 7 Aug 2013 17:34:05 +0000 Subject: [PATCH] Remove temporary svn task from Gruntfile.js. props jorbin, fixes #24981. git-svn-id: https://develop.svn.wordpress.org/trunk@25012 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 7b688fe3f3..c645895bd8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,7 +14,6 @@ module.exports = function(grunt) { cwd: BUILD_DIR, src: [] }, - svn: [SOURCE_DIR] }, copy: { all: { @@ -46,12 +45,6 @@ module.exports = function(grunt) { ] } }, - svn: { - core: { - repository: 'https://core.svn.wordpress.org/trunk/', - dest: SOURCE_DIR - } - }, uglify: { core: { expand: true, @@ -117,25 +110,6 @@ module.exports = function(grunt) { grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core', 'uglify:core', 'uglify:tinymce']); - - // Add a temporary setup task for preparing the directory using existing repositories. - grunt.registerTask('setup', ['clean:all', 'svn']); - - // Add an svn task for checking out repositories. - grunt.registerMultiTask('svn', 'Check out a Subversion repository.', function() { - var done = this.async(); - var args = ['checkout', '--ignore-externals', this.data.repository]; - if (this.data.dest) { - args.push(this.data.dest); - } - - grunt.util.spawn({ - cmd: 'svn', - args: args, - opts: {stdio: 'inherit'} - }, done); - }); - // Default task. grunt.registerTask('default', ['build']);