bundle: add _process instead of process to igv, start test system work
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ function bundle(input, nc, options, complete) {
|
||||
let ws = fs.createWriteStream(bundlePath);
|
||||
|
||||
|
||||
const igv = '__filename,__dirname,process';
|
||||
const igv = '__filename,__dirname,_process';
|
||||
let insertGlobalVars = {},
|
||||
wantedGlobalVars = igv.split(',');
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
Hello, world! I'm in a file :)
|
||||
true
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
|
||||
const nexeres = require('nexeres');
|
||||
|
||||
console.log(nexeres.get('hw.txt').toString('ascii'))
|
||||
process.stdout.write(nexeres.get('hw.txt').toString('ascii'));
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"excludes": [],
|
||||
"requires": []
|
||||
},
|
||||
"temp": "src",
|
||||
"temp": "../src",
|
||||
"debug": false,
|
||||
"runtime": {
|
||||
"framework": "node",
|
||||
|
||||
@@ -90,5 +90,4 @@ function onListening() {
|
||||
debug('Listening on ' + bind);
|
||||
}
|
||||
|
||||
throw new Error('test');
|
||||
//# sourceMappingURL=./test.nex.map
|
||||
console.log(true);
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
// "use strict"; w/o --use_strict
|
||||
|
||||
var isStrict = (function() { return !this; })();
|
||||
let isStrict = (function() { return !this; })();
|
||||
|
||||
console.log('test:strict-mode:status =', isStrict);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"nexe": {
|
||||
"input": "./index.js",
|
||||
"output": "test.nex",
|
||||
"temp": "src",
|
||||
"temp": "../src",
|
||||
"runtime": {
|
||||
"framework": "node",
|
||||
"version": "0.10.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
var gulp = require('gulp');
|
||||
var nexe = require('nexe');
|
||||
let gulp = require('gulp');
|
||||
let nexe = require('nexe');
|
||||
|
||||
gulp.task( "compile", ( callback ) => {
|
||||
let options = {
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
console.log('Hello, world!');
|
||||
// it probably executed.
|
||||
console.log(true);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
// test.nex --help
|
||||
|
||||
var status = false;
|
||||
let status = false;
|
||||
|
||||
// console.log(process.argv);
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
status = true;
|
||||
}
|
||||
|
||||
console.log('test:ignoreFlags:status =', status);
|
||||
console.log(status);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"nexe": {
|
||||
"input": "./index.js",
|
||||
"output": "test.nex",
|
||||
"temp": "src",
|
||||
"temp": "../src",
|
||||
"runtime": {
|
||||
"framework": "node",
|
||||
"version": "5.5.0",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
require('js-yaml');
|
||||
|
||||
console.log('hello world!');
|
||||
console.log(true);
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"nexe": {
|
||||
"input": "index.js",
|
||||
"output": "test.nex",
|
||||
"temp": "../src",
|
||||
"runtime": {
|
||||
"version": "5.5.0",
|
||||
"framework": "node"
|
||||
|
||||
Reference in New Issue
Block a user