Skip to content

Commit eaeed45

Browse files
committed
Add check-modules tasks
1 parent 3404622 commit eaeed45

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

grunt.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var entryFiles = grunt.file.expandFiles( "entries/*.xml" );
55
grunt.loadNpmTasks( "grunt-clean" );
66
grunt.loadNpmTasks( "grunt-wordpress" );
77
grunt.loadNpmTasks( "grunt-jquery-content" );
8+
grunt.loadNpmTasks( "grunt-check-modules" );
89

910
grunt.initConfig({
1011
clean: {
@@ -39,7 +40,7 @@ grunt.initConfig({
3940

4041
grunt.registerTask( "default", "build-wordpress" );
4142
grunt.registerTask( "build", "build-pages build-xml-entries build-xml-categories build-resources build-xml-full" );
42-
grunt.registerTask( "build-wordpress", "clean lint xmllint build" );
43+
grunt.registerTask( "build-wordpress", "check-modules clean lint xmllint build" );
4344
grunt.registerTask( "tidy", "xmllint xmltidy" );
4445

4546
};

package.json

Lines changed: 2 additions & 1 deletion
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.9"
27+
"grunt-jquery-content": "0.5.9",
28+
"grunt-check-modules": "0.1.0"
2829
},
2930
"devDependencies": {},
3031
"keywords": []

0 commit comments

Comments
 (0)