Skip to content

Commit 71eaf6b

Browse files
committed
Add check-modules tasks
1 parent c62d19e commit 71eaf6b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

grunt.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ var entryFiles = grunt.file.expandFiles( "entries/*.xml" );
77
grunt.loadNpmTasks( "grunt-clean" );
88
grunt.loadNpmTasks( "grunt-wordpress" );
99
grunt.loadNpmTasks( "grunt-jquery-content" );
10+
grunt.loadNpmTasks( "grunt-check-modules" );
1011

1112
grunt.initConfig({
1213
clean: {
@@ -37,7 +38,7 @@ grunt.initConfig({
3738

3839
grunt.registerTask( "default", "build-wordpress" );
3940
grunt.registerTask( "build", "build-pages build-xml-entries build-xml-categories build-xml-full build-resources" );
40-
grunt.registerTask( "build-wordpress", "clean lint xmllint build" );
41+
grunt.registerTask( "build-wordpress", "check-modules clean lint xmllint build" );
4142
grunt.registerTask( "tidy", "xmllint xmltidy" );
4243

4344
};

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"grunt": "0.3.x",
2525
"grunt-clean": "0.3.0",
2626
"grunt-wordpress": "1.0.3",
27-
"grunt-jquery-content": "0.5.x"
27+
"grunt-jquery-content": "0.5.x",
28+
"grunt-check-modules": "0.1.0"
2829
},
2930
"devDependencies": {},
3031
"keywords": []

0 commit comments

Comments
 (0)