Skip to content

Commit 82daaa0

Browse files
committed
Build: Upgrade to grunt-jquery-content 2.0.0
1 parent 001d725 commit 82daaa0

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

Gruntfile.js

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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({
@@ -15,8 +12,8 @@ grunt.initConfig({
1512
"notes.xsl"
1613
]
1714
},
18-
"build-pages": {
19-
all: "pages/**"
15+
"build-posts": {
16+
page: "pages/**"
2017
},
2118
"build-xml-entries": {
2219
all: "entries/**"
@@ -31,23 +28,14 @@ grunt.initConfig({
3128
})()
3229
});
3330

34-
grunt.registerTask( "clean", function() {
35-
rimraf.sync( "dist" );
36-
});
31+
grunt.registerTask( "lint", [ "xmllint" ]);
3732

3833
grunt.registerTask( "build", [
39-
"build-pages",
34+
"build-posts",
4035
"build-resources",
4136
"build-xml-entries",
4237
"build-xml-categories",
4338
"build-xml-full"
4439
]);
4540

46-
grunt.registerTask( "build-wordpress", [
47-
"check-modules",
48-
"xmllint",
49-
"clean",
50-
"build"
51-
]);
52-
5341
};

package.json

+1-3
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)