From 8b464c71407a3fc30f4617b29144d14c1321801a Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Thu, 10 Nov 2016 03:21:39 +0000 Subject: [PATCH] Build/Test tools: Add "apply" as alias for "patch" The command applies a patch, so apply makes just as much sense. Additionally, this is to help translate dev tools into Australian. Props netweb. Fixes #38724. git-svn-id: https://develop.svn.wordpress.org/trunk@39195 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index eae8afaf9f..5a9317c12d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -838,6 +838,9 @@ module.exports = function(grunt) { // Patch task. grunt.renameTask('patch_wordpress', 'patch'); + // Add an alias `apply` of the `patch` task name. + grunt.registerTask('apply', 'patch'); + // Default task. grunt.registerTask('default', ['build']);