Skip to content

Instantly share code, notes, and snippets.

@aaronjorbin
Created March 28, 2014 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronjorbin/9824754 to your computer and use it in GitHub Desktop.
Save aaronjorbin/9824754 to your computer and use it in GitHub Desktop.
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