8000 Build: Remove unused tasks · jquery/api.jqueryui.com@f4db51e · GitHub
[go: up one dir, main page]

Skip to content

Commit f4db51e

Browse files
committed
Build: Remove unused tasks
(cherry picked from commit af84946)
1 parent 583c838 commit f4db51e

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

grunt.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,14 @@ 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, "categories.xml", "entries2html.xsl", "notes.xsl" )
2114
},
22-
xmltidy: {
23-
all: [].concat( entryFiles, "categories.xml" )
24-
},
2515
"build-pages": {
2616
all: grunt.file.expandFiles( "pages/**" )
2717
},
@@ -69,9 +59,7 @@ grunt.registerTask( "manifest", "Generate categories.json manifest file", functi
6959
});
7060
});
7161

72-
grunt.registerTask( "default", "build-wordpress" );
7362
grunt.registerTask( "build", "build-pages build-xml-entries build-xml-categories build-resources build-xml-full" );
74-
grunt.registerTask( "build-wordpress", "check-modules clean lint xmllint build" );
75-
grunt.registerTask( "tidy", "xmllint xmltidy" );
63+
grunt.registerTask( "build-wordpress", "check-modules clean xmllint build" );
7664

7765
};

0 commit comments

Comments
 (0)
0