diff --git a/lib/exe.js b/lib/exe.js index 133604b..4558863 100644 --- a/lib/exe.js +++ b/lib/exe.js @@ -50,6 +50,8 @@ exports.compile = function (options, complete) { function writeBundle (source, next) { bundlePath = path.join(nodeCompiler.dir, "lib", "nexe.js"); _log("bundle -> %s", bundlePath); + + // same path as all the other JS files fs.writeFile(bundlePath, source, next); }, diff --git a/lib/monkeypatch.js b/lib/monkeypatch.js index 0e78562..be57993 100644 --- a/lib/monkeypatch.js +++ b/lib/monkeypatch.js @@ -1,5 +1,6 @@ var async = require("async"), -fs = require("fs"); +fs = require("fs"), +_log = require("./log"); module.exports = _monkeypatch; diff --git a/package.json b/package.json index 8a03ba9..ae7dbd5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Craig Condon ", "name": "nexe", "description": "Roll node.s applications into a single executable", - "version": "0.2.6", + "version": "0.2.7", "repository": { "type": "git", "url": "git://github.com/crcn/nexe.git"