Skip to content

Commit 7ea4588

Browse files
committed
Build: Remove unused tasks
1 parent 69bdb18 commit 7ea4588

File tree

1 file changed

+5
-27
lines changed

1 file changed

+5
-27
lines changed

grunt.js

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,12 @@
1-
var rimraf = require( "rimraf" ),
2-
config = require( "./config" );
1+
var rimraf = require( "rimraf" );
32

43
module.exports = function( grunt ) {
54

6-
"use strict";
7-
8-
grunt.loadNpmTasks( "grunt-wordpress" );
9-
grunt.loadNpmTasks( "grunt-jquery-content" );
105
grunt.loadNpmTasks( "grunt-check-modules" );
6+
grunt.loadNpmTasks( "grunt-jquery-content" );
7+
grunt.loadNpmTasks( "grunt-wordpress" );
118

129
grunt.initConfig({
13-
jshint: {
14-
options: {
15-
undef: true,
16-
node: true
17-
}
18-
},
19-
lint: {
20-
grunt: "grunt.js"
21-
},
22-
watch: {
23-
pages: {
24-
files: "page/**",
25-
tasks: "deploy"
26-
}
27-
},
2810
"build-pages": {
2911
all: grunt.file.expandFiles( "page/**" )
3012
},
@@ -187,11 +169,7 @@ grunt.registerHelper( "build-pages-preprocess", (function() {
187169
};
188170
})());
189171

190-
grunt.registerTask( "default", "wordpress-deploy" );
191-
grunt.registerTask( "build-wordpress", "check-modules clean lint build-pages build-resources");
192-
grunt.registerTask( "deploy", "wordpress-deploy" );
172+
grunt.registerTask( "build", "build-pages build-resources" );
173+
grunt.registerTask( "build-wordpress", "check-modules clean build" );
193174

194175
};
195-
196-
197-

0 commit comments

Comments
 (0)