Created
March 28, 2014 03:34
-
-
Save aaronjorbin/9824754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: Gruntfile.js | |
=================================================================== | |
--- Gruntfile.js (revision 5325) | |
+++ Gruntfile.js (working copy) | |
@@ -228,6 +228,11 @@ | |
expand: true | |
} | |
}, | |
+ patch: { | |
+ options:{ | |
+ tracUrl: 'bbpress.trac.wordpress.org' | |
+ } | |
+ }, | |
jsvalidate:{ | |
options:{ | |
globals: {}, | |
@@ -294,6 +299,9 @@ | |
// Default task. | |
grunt.registerTask( 'default', [ 'build' ] ); | |
+ // Patch task. | |
+ grunt.renameTask('patch_wordpress', 'patch'); | |
+ | |
// Add a listener to the watch task. | |
// | |
// On `watch:all`, automatically updates the `copy:dynamic` and `clean:dynamic` configurations so that only the changed files are updated. | |
Index: package.json | |
=================================================================== | |
--- package.json (revision 5325) | |
+++ package.json (working copy) | |
@@ -19,6 +19,7 @@ | |
"grunt-wp-i18n": "~0.4.0", | |
"grunt-checktextdomain": "~0.1.1", | |
"matchdep": "~0.3.0", | |
+ "grunt-patch-wordpress": "~0.2.1", | |
"grunt-exec": "~0.4.5" | |
}, | |
"homepage": "https://bbpress.org", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment