Skip to content

Commit ad32e51

Browse files
committed
Build: Remove unused tasks
1 parent 948e6c4 commit ad32e51

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

grunt.js

+3-15
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,15 @@ module.exports = function( grunt ) {
44

55
var entryFiles = grunt.file.expandFiles( "entries/*.xml" );
66

7-
grunt.loadNpmTasks( "grunt-wordpress" );
8-
grunt.loadNpmTasks( "grunt-jquery-content" );
97
grunt.loadNpmTasks( "grunt-check-modules" );
8+
grunt.loadNpmTasks( "grunt-jquery-content" );
9+
grunt.loadNpmTasks( "grunt-wordpress" );
1010

1111
grunt.initConfig({
12-
lint: {
13-
grunt: "grunt.js"
14-
},
15-
watch: {
16-
files: entryFiles.concat( grunt.file.expandFiles( "resources/**") ),
17-
tasks: "deploy"
18-
},
1912
xmllint: {
2013
all: [].concat( entryFiles, grunt.file.expandFiles( "includes/**" ),
2114
"categories.xml", "entries2html.xsl", "notes.xsl" )
2215
},
23-
xmltidy: {
24-
all: [].concat( entryFiles, "categories.xml" )
25-
},
2616
"build-pages": {
2717
all: grunt.file.expandFiles( "pages/**" )
2818
},
@@ -70,9 +60,7 @@ grunt.registerTask( "manifest", "Generate categories.json manifest file", functi
7060
});
7161
});
7262

73-
grunt.registerTask( "default", "build-wordpress" );
7463
grunt.registerTask( "build", "build-pages build-xml-entries build-xml-categories build-resources build-xml-full" );
75-
grunt.registerTask( "build-wordpress", "check-modules clean lint xmllint build" );
76-
grunt.registerTask( "tidy", "xmllint xmltidy" );
64+
grunt.registerTask( "build-wordpress", "check-modules clean xmllint build" );
7765

7866
};

0 commit comments

Comments
 (0)