Skip to content

Commit

Permalink
inline documentation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheiko committed Feb 28, 2014
1 parent ee760f8 commit 5399958
Show file tree
Hide file tree
Showing 134 changed files with 49,412 additions and 522 deletions.
15 changes: 15 additions & 0 deletions Gruntfile.js
Expand Up @@ -46,6 +46,21 @@ module.exports = function(grunt) {

});

grunt.registerTask('jsdoc', 'Run jsdoc', function() {
var exec = require('child_process').exec;
grunt.log.writeln( 'Running jsdoc' );
grunt.verbose.writeln( 'Exec: node ./node_modules/jsdoc/jsdoc ' );
exec( "node node_modules/jsdoc/jsdoc.js -r ./lib -d build/doc -p", function( err, stdout ) {
if ( stdout ) {
grunt.log.write( stdout );
}
if ( err ) {
grunt.fatal( err );
}
done();
});
});

grunt.registerTask( "test", [ "jshint", "mochacli", "jscs" ] );
grunt.registerTask( "default", [ "test" ] );

Expand Down

0 comments on commit 5399958

Please sign in to comment.