mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add node 0.12 and tidy up debug
This commit is contained in:
parent
66572b2669
commit
8576a9f1c0
@ -1,6 +1,7 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "0.10"
|
- "0.10"
|
||||||
|
- "0.12"
|
||||||
#before_install:
|
#before_install:
|
||||||
# - npm install -g npm@~1.4.28
|
# - npm install -g npm@~1.4.28
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -34,6 +34,6 @@
|
|||||||
"imap" : "0.8.14"
|
"imap" : "0.8.14"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.8 <0.11"
|
"node": ">=0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,11 +16,8 @@
|
|||||||
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
console.log("WAS",process.env.NODE_RED_HOME);
|
|
||||||
console.log("WAS2",__dirname);
|
|
||||||
process.env.NODE_RED_HOME = process.env.NODE_RED_HOME || path.resolve(__dirname+"/../../node-red");
|
process.env.NODE_RED_HOME = process.env.NODE_RED_HOME || path.resolve(__dirname+"/../../node-red");
|
||||||
//console.log("HOME",process.env.NODE_RED_HOME);
|
//console.log("HOME",process.env.NODE_RED_HOME);
|
||||||
console.log("PATH",path.join(process.env.NODE_RED_HOME, 'test', 'nodes', 'helper.js'));
|
|
||||||
var helper = require(path.join(process.env.NODE_RED_HOME, 'test', 'nodes', 'helper.js'));
|
var helper = require(path.join(process.env.NODE_RED_HOME, 'test', 'nodes', 'helper.js'));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user