1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/js/cake_tasks.js
2010-04-03 20:43:50 -04:00

13 lines
343 B
JavaScript

(function(){
task('test', 'run each of the unit tests', function() {
var _a, _b, _c, _d, test;
_a = []; _c = test_files;
for (_b = 0, _d = _c.length; _b < _d; _b++) {
test = _c[_b];
_a.push(fs.readFile(test, function(err, code) {
return eval(coffee.compile(code));
}));
}
return _a;
});
})();