Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (22 sloc) 0.461 kB
35ab8b1 Added Jakefile for packaging.
mde authored
1
434d81d @mde Get started on sorting out tests.
mde authored
2 desc('Runs the Jake tests.');
3 task('test', function () {
4 cmds = [
5 'node ./tests/parseargs.js'
6 , 'node ./tests/task_base.js'
80d9f07 @mde File-task tests.
mde authored
7 , 'node ./tests/file_task.js'
434d81d @mde Get started on sorting out tests.
mde authored
8 ];
9 jake.exec(cmds, function () {
10 console.log('All tests passed.');
11 complete();
80d9f07 @mde File-task tests.
mde authored
12 }, {stdout: true});
434d81d @mde Get started on sorting out tests.
mde authored
13 });
14
97eeeff @mde Use package name, not name of generator-task.
mde authored
15 var p = new jake.NpmPublishTask('jake', [
16 'Makefile'
17 , 'Jakefile'
18 , 'README.md'
19 , 'package.json'
20 , 'lib/*'
21 , 'bin/*'
22 , 'tests/*'
23 ]);
35ab8b1 Added Jakefile for packaging.
mde authored
24
97eeeff @mde Use package name, not name of generator-task.
mde authored
25 jake.Task['npm:definePackage'].invoke();
35ab8b1 Added Jakefile for packaging.
mde authored
26
Something went wrong with that request. Please try again.