Skip to content

Commit ca2872d

Browse files
committed
Tasks: Expose check-modules task
1 parent 2493c17 commit ca2872d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"dependencies": {
2323
"async": "0.9.0",
2424
"cheerio": "0.17.0",
25+
"grunt-check-modules": "1.0.0",
2526
"grunt-wordpress": "2.1.0",
2627
"he": "0.5.0",
2728
"highlight.js": "7.3.0",

tasks/build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ var wordpress = require( "grunt-wordpress" ),
55
syntaxHighlight = require( "../lib/highlight" ),
66
mainExports = require( "../" );
77

8-
// Load the grunt-wordpress tasks as local tasks
8+
// Load external tasks as local tasks
99
// Grunt doesn't provide an API to pass thru tasks from dependent grunt plugins
1010
require( "grunt-wordpress/tasks/wordpress" )( grunt );
11+
require( "grunt-check-modules/tasks/check-modules" )( grunt );
1112

1213
grunt.registerMultiTask( "build-pages", "Process html and markdown files as pages, include @partials and syntax higlight code snippets", function() {
1314
var task = this,

0 commit comments

Comments
 (0)