1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/bin/coffee

15 lines
353 B
JavaScript
Executable file

#!/usr/bin/env node
process.mixin(require('sys'));
var path = require('path');
var fs = require('fs');
var lib = null;
if (fs.lstatSync(__filename).isSymbolicLink()) {
lib = path.join(path.dirname(fs.readlinkSync(__filename)), '../lib');
} else {
lib = path.join(__dirname, '../lib');
}
require.paths.unshift(lib);
require('command_line').run();