grunt-jquery-content
Version:
A collection of tasks for building the jQuery websites
33 lines (29 loc) • 618 B
JavaScript
;
module.exports = function( grunt ) {
grunt.initConfig( {
xmllint: {
all: [
"fixture/entries/**",
"entries2html.xsl"
]
},
"build-posts": {
page: "fixture/pages/**"
},
"build-resources": {
all: "fixture/resources/**"
},
"build-xml-entries": {
all: "fixture/entries/**"
},
wordpress: {
url: "example.org",
username: "admin",
password: "admin",
dir: "test/dist/wordpress"
}
} );
grunt.loadTasks( "tasks" );
grunt.registerTask( "lint", [ "xmllint" ] );
grunt.registerTask( "build", [ "build-posts", "build-resources", "build-xml-entries" ] );
};