Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Preparing package for binifying

  • Loading branch information...
commit 7862af8e673e7f42b9455a023e87070cc1832989 1 parent 30b1d80
@irvingc irvingc authored
Showing with 5 additions and 4 deletions.
  1. +2 −1  bin/jscc
  2. +3 −3 package.json
View
3  bin/jscc
@@ -1,3 +1,4 @@
+#!/usr/bin/env node
print = require("util").puts;
_print = function(str){console.log("__PRINT__\n"+str);};
_error = function(str){console.log("___ ERROR ___\n"+str);};
@@ -4541,7 +4542,7 @@ function help()
//Initialize the globals
reset_all( EXEC_CONSOLE );
-DEFAULT_DRIVER = "driver_node.js_";
+DEFAULT_DRIVER = __dirname + "/../lib/driver_node.js_";
//Processing the command line arguments
View
6 package.json
@@ -1,9 +1,9 @@
{
"name": "jscc-node"
, "description": "JSCC assembling a complete compiler for nodejs"
- , "version": "0.3.0"
+ , "version": "0.3.1"
, "author": "Badlee Oshimin <badlee.oshimin@gmail.com>"
- , "contributors": []
+ , "contributors": [ "Irving Cordova <irving@irvingc.com>" ]
, "repository": {
"type": "git"
, "url": "git://github.com/badlee/JSCC-NODE.git"
@@ -13,7 +13,7 @@
}
, "os": [ "linux", "darwin", "freebsd", "win32" ]
, "directories": { }
- , "main": "./jscc.js"
+ , "bin": { "jscc": "./bin/jscc" }
, "engines": { "node": ">=0.4.7" }
, "licenses": [{
"type": "ARTISTIC 2.0"
Please sign in to comment.
Something went wrong with that request. Please try again.