Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (30 sloc) 0.846 kB
var t = new jake.TestTask('Utilities', function () {
this.testFiles.include('test/*.js');
});
namespace('doc', function () {
task('generate', ['doc:clobber'], function () {
var cmd = '../node-jsdoc-toolkit/app/run.js -n -r=100 ' +
'-t=../node-jsdoc-toolkit/templates/codeview -d=./doc/ ./lib';
console.log('Generating docs ...');
jake.exec([cmd], function () {
console.log('Done.');
complete();
});
}, {async: true});
task('clobber', function () {
var cmd = 'rm -fr ./doc/**';
jake.exec([cmd], function () {
console.log('Clobbered old docs.');
complete();
});
}, {async: true});
});
desc('Generate docs for Utilities');
task('doc', ['doc:generate']);
var p = new jake.NpmPublishTask('utilities', [
'Jakefile'
, 'README.md'
, 'package.json'
, 'lib/**'
, 'test/**'
]);
Jump to Line
Something went wrong with that request. Please try again.