This commit is contained in:
Craig Condon
2011-11-26 17:30:50 -06:00
parent 1e12cad040
commit 0813ef0f67
+1 -2
View File
@@ -32,7 +32,7 @@ function wrapNode(path) {
var nodePath = path + '/src/node.js',
content = fs.readFileSync(nodePath,'utf8');
content = content.replace(/\(function\(process\) \{/,'function(process){ \n process._eval = require("nexe"); ');
content = content.replace(/\(function\(process\) \{/,'(function(process){ \n process._eval = require("nexe"); ');
fs.writeFileSync(nodePath, content);
}
@@ -196,7 +196,6 @@ exports.compile = function(ops, callback) {
});
console.log('Making nexe.js');
//combine the JS
sardines.package({ input: entries, include: include, output: node.libDir + '/nexe.js' }, function(err) {