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:
parent
7e70cdcb9b
commit
0fc8021977
@ -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']);
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user