mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
node conversion finished, narwhal removed.
This commit is contained in:
10
lib/coffee_script/runner.js
Normal file
10
lib/coffee_script/runner.js
Normal file
@@ -0,0 +1,10 @@
|
||||
(function(){
|
||||
var coffee, paths;
|
||||
coffee = require('./coffee-script');
|
||||
process.mixin(require('sys'));
|
||||
paths = process.ARGV;
|
||||
paths = paths.slice(2, paths.length);
|
||||
coffee.compile_files(paths, function(js) {
|
||||
return eval(js);
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user