Skip to content

Commit 3a3d680

Browse files
committed
Build: Upgrade to grunt-jquery-content 2.0.0
1 parent cb0a34f commit 3a3d680

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

Gruntfile.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
var rimraf = require( "rimraf" );
2-
31
module.exports = function( grunt ) {
42

5-
grunt.loadNpmTasks( "grunt-check-modules" );
63
grunt.loadNpmTasks( "grunt-jquery-content" );
74

85
grunt.initConfig({
9-
"build-pages": {
10-
all: "pages/**"
6+
"build-posts": {
7+
page: "pages/**"
118
},
129
"build-resources": {
1310
all: "resources/**"
@@ -19,11 +16,6 @@ grunt.initConfig({
1916
})()
2017
});
2118

22-
grunt.registerTask( "clean", function() {
23-
rimraf.sync( "dist" );
24-
});
25-
26-
grunt.registerTask( "build", [ "build-pages", "build-resources" ] );
27-
grunt.registerTask( "build-wordpress", [ "check-modules", "clean", "build" ] );
19+
grunt.registerTask( "build", [ "build-posts", "build-resources" ] );
2820

2921
};

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
],
2323
"dependencies": {
2424
"grunt": "0.4.5",
25-
"grunt-check-modules": "0.2.0",
26-
"grunt-jquery-content": "1.0.0",
27-
"rimraf": "2.2.8"
25+
"grunt-jquery-content": "2.0.0"
2826
}
2927
}

0 commit comments

Comments
 (0)