@@ -24,13 +24,12 @@ module.exports = function(grunt) {
2424 files : {
2525 src : [
2626 '**/*.php' , // Include all files
27- 'includes/*.php' , // Include includes
28- '!sass/**' , // Exclude sass/
27+ '!sass/**' , // Exclude sass/
2928 '!node_modules/**' , // Exclude node_modules/
3029 '!tests/**' , // Exclude tests/
3130 '!vendor/**' , // Exclude vendor/
32- '!build/**' , // Exclude build/
33- '!static/**' , // Exclude static resources
31+ '!build/**' , // Exclude build/
32+ '!static/**' , // Exclude static resources
3433 ] ,
3534 expand : true
3635 }
@@ -42,25 +41,12 @@ module.exports = function(grunt) {
4241 'README.md' : 'readme.txt'
4342 } ,
4443 } ,
45- } ,
46- makepot : {
47- target : {
48- options : {
49- mainFile : 'activitypub.php' ,
50- domainPath : '/languages' ,
51- exclude : [ 'bin/.*' , '.git/.*' , 'vendor/.*' ] ,
52- potFilename : 'activitypub.pot' ,
53- type : 'wp-plugin' ,
54- updateTimestamp : true
55- }
56- }
5744 }
5845 } ) ;
5946
6047 grunt . loadNpmTasks ( 'grunt-wp-readme-to-markdown' ) ;
61- grunt . loadNpmTasks ( 'grunt-wp-i18n' ) ;
6248 grunt . loadNpmTasks ( 'grunt-checktextdomain' ) ;
6349
6450 // Default task(s).
65- grunt . registerTask ( 'default' , [ 'wp_readme_to_markdown' , 'makepot' , ' checktextdomain'] ) ;
51+ grunt . registerTask ( 'default' , [ 'wp_readme_to_markdown' , 'checktextdomain' ] ) ;
6652} ;
0 commit comments