Permalink
Browse files

Simplify lispy binary.

  • Loading branch information...
1 parent f3eabd7 commit ed4f0bfc0671870a6044fb7bf40b4f4d5dd3d412 @Gozala committed Jun 26, 2012
Showing with 3 additions and 7 deletions.
  1. +0 −6 bin/lispy
  2. +2 −0 bin/lispy.js
  3. +1 −1 package.json
View
@@ -1,6 +0,0 @@
-#!/usr/bin/env node
-// The 'lispy' command which in turn runs the compiler
-var path = require('path');
-var fs = require('fs');
-var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
-require(lib + '/lispy').run();
View
@@ -0,0 +1,2 @@
+#!/usr/bin/env node
+require('../lib/lispy').run();
View
@@ -16,7 +16,7 @@
},
"main" : "./lib/ls",
"bin": {
- "lispy": "./bin/lispy"
+ "lispy": "./bin/lispy.js"
},
"homepage": "https://github.com/santoshrajan/lispyscript",
"bugs": "https://github.com/santoshrajan/lispyscript/issues",

0 comments on commit ed4f0bf

Please sign in to comment.