goji
Version:
An HTML templating engine inspired by Thymeleaf
31 lines (26 loc) • 575 B
JavaScript
'use strict';
var grunt = require('grunt');
require('load-grunt-tasks')(grunt);
var testScripts = grunt.file.expand({
cwd: './test/'
}, '*.js');
grunt.initConfig({
shell: {
cleanDoc: {
command: 'rm -rf doc/*'
},
doc: {
command: './node_modules/.bin/jsdoc -c jsdoc.conf .'
}
},
githubPages: {
target: {
options: {
commitMessage: 'Publishing new documentation'
},
src: 'doc'
}
}
});
grunt.registerTask('doc', ['shell:cleanDoc', 'shell:doc']);
grunt.registerTask('publishdoc', ['githubPages:target']);