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']);