Fixes #99, resolves #97 by warning on missing file. New examples. New log functions

This commit is contained in:
RainbowDashDC
2015-02-15 11:05:24 -08:00
parent 06d7730802
commit b040337a94
17 changed files with 111 additions and 15 deletions
+17
View File
@@ -0,0 +1,17 @@
var nexe = require('nexe');
nexe.compile(
{
input: "./index.js",
output: "./out.exe",
nodeVersion: "latest",
nodeTempDir: "",
python: "C:\\Python27\\python.exe",
flags: true
},
function (err) {
if (err) {
console.log(err);
}
}
);
@@ -0,0 +1 @@
{ "head": "Success!" }
+7
View File
@@ -0,0 +1,7 @@
if(false) {
require('./not-found-file.json');
}
var out = require('./found-file.json');
console.log(out.head);
+2
View File
@@ -0,0 +1,2 @@
all:
nexe -i ./ -o ./hello-world.nex
+6
View File
@@ -0,0 +1,6 @@
{
"main": "./index.js",
"dependencies": {
"nexe": "*"
}
}