Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit b09f50c

Browse files
committed
Build: Upgrade to grunt-jquery-content 2.0.0
1 parent 1282344 commit b09f50c

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({
@@ -14,8 +11,8 @@ grunt.initConfig({
1411
"notes.xsl"
1512
]
1613
},
17-
"build-pages": {
18-
all: "pages/**"
14+
"build-posts": {
15+
page: "pages/**"
1916
},
2017
"build-xml-entries": {
2118
all: "entries/**"
@@ -30,23 +27,14 @@ grunt.initConfig({
3027
})()
3128
});
3229

33-
grunt.registerTask( "clean", function() {
34-
rimraf.sync( "dist" );
35-
});
30+
grunt.registerTask( "lint", [ "xmllint" ] );
3631

3732
grunt.registerTask( "build", [
38-
"build-pages",
33+
"build-posts",
3934
"build-resources",
4035
"build-xml-entries",
4136
"build-xml-categories",
4237
"build-xml-full"
4338
]);
4439

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

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
],
2222
"dependencies": {
2323
"grunt": "0.4.5",
24-
"grunt-check-modules": "0.2.0",
25-
"grunt-jquery-content": "1.0.0",
26-
"rimraf": "2.2.8"
24+
"grunt-jquery-content": "2.0.0"
2725
}
2826
}

0 commit comments

Comments
 (0)