Skip to content

Commit f0afafb

Browse files
committed
Build: Remove unused tasks
1 parent 6d903c8 commit f0afafb

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

grunt.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
var rimraf = require( "rimraf" );
22

3-
/*jshint node:true */
43
module.exports = function( grunt ) {
5-
"use strict";
64

75
var entryFiles = grunt.file.expandFiles( "entries/*.xml" );
86

9-
grunt.loadNpmTasks( "grunt-wordpress" );
10-
grunt.loadNpmTasks( "grunt-jquery-content" );
117
grunt.loadNpmTasks( "grunt-check-modules" );
8+
grunt.loadNpmTasks( "grunt-jquery-content" );
9+
grunt.loadNpmTasks( "grunt-wordpress" );
1210

1311
grunt.initConfig({
14-
lint: {
15-
grunt: "grunt.js"
16-
},
1712
xmllint: {
1813
all: [].concat( entryFiles, "categories.xml", "entries2html.xsl", "notes.xsl" )
1914
},
20-
xmltidy: {
21-
all: [].concat( entryFiles, "categories.xml" )
22-
},
2315
"build-pages": {
2416
all: grunt.file.expandFiles( "pages/**" )
2517
},
@@ -38,9 +30,7 @@ grunt.registerTask( "clean", function() {
3830
rimraf.sync( "dist" );
3931
});
4032

41-
grunt.registerTask( "default", "build-wordpress" );
4233
grunt.registerTask( "build", "build-pages build-xml-entries build-xml-categories build-xml-full build-resources" );
43-
grunt.registerTask( "build-wordpress", "check-modules clean lint xmllint build" );
44-
grunt.registerTask( "tidy", "xmllint xmltidy" );
34+
grunt.registerTask( "build-wordpress", "check-modules clean xmllint build" );
4535

4636
};

0 commit comments

Comments
 (0)