Developer tools: grunt-patch-wordpress from jorbin, for applying patches directly from Trac.

Mapped to `grunt patch`, which declares usage. Requires `npm install` to install.

props jorbin. props helen, evarlese for help with grammar/instructions.
see #27023.


git-svn-id: https://develop.svn.wordpress.org/trunk@27299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-02-26 21:45:55 +00:00
parent 7e70cdcb9b
commit 0fc8021977
2 changed files with 4 additions and 0 deletions

View File

@ -428,6 +428,9 @@ module.exports = function(grunt) {
grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']);
grunt.registerTask('travis', ['jshint', 'test']);
// Patch task.
grunt.renameTask('patch_wordpress', 'patch');
// Default task.
grunt.registerTask('default', ['build']);

View File

@ -24,6 +24,7 @@
"grunt-autoprefixer": "~0.7.1",
"grunt-jsvalidate": "~0.2.2",
"grunt-contrib-imagemin" : "~0.4.1",
"grunt-patch-wordpress" : "~0.1.2",
"matchdep": "~0.3.0"
}
}