Comparing version 0.13.1 to 0.13.2
@@ -48,2 +48,4 @@ var Addon = require('./addon.js').Addon; | ||
} | ||
} else { | ||
console.log('addon.on(\'sandboxed\' cb: Request not found for response:', msg, self, self.requests); | ||
} | ||
@@ -64,3 +66,3 @@ }); | ||
} else { | ||
console.log('Request not found for response:', id, self, self.requests); | ||
console.log('addon.on(\'mist\' cb: Request not found for response:', msg, self, self.requests); | ||
} | ||
@@ -67,0 +69,0 @@ }); |
{ | ||
"name": "mist-api", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "Mist API wrapper for node. Used for accessing all Mist APIs.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -63,27 +63,6 @@ # Mist API | ||
## Compiling the Mist API native library | ||
The tools directory contains scripts (release- and debug-) which can be | ||
used to compile for different platforms. | ||
``` | ||
cd tools; | ||
./release-x64-linux.sh | ||
``` | ||
As the current node.js mist-api port uses an interface which depends on | ||
node.js version, a separate library build is needed for each version of | ||
node.js which is to be supported. There is a script for performing a | ||
batch build for all platforms, tools/build-for-nodejs-versions.sh, which | ||
takes individual release build scripts as argument: | ||
``` | ||
cd tools; | ||
build-for-nodejs-versions.sh release-x64-linux.sh | ||
build-for-nodejs-versions.sh release-raspberry.sh | ||
``` | ||
### Problems | ||
@@ -90,0 +69,0 @@ |
@@ -44,3 +44,3 @@ # Release instructions for mist-api | ||
```sh | ||
./release.sh | ||
./release-to-npmjs-org.sh | ||
``` | ||
@@ -47,0 +47,0 @@ |
@@ -21,5 +21,19 @@ # The Mist test suite | ||
This runs the `mist-model-from-json.js` test with release code: | ||
```sh | ||
cd tools | ||
rm -rf env/; WISH=~/controlthings/mist/wish-c99/build/wish-core node test-suite.js test/mist-model-from-json.js | ||
``` | ||
When developing, you might want to first build a debug build, and then run the test suite using the debug libs: | ||
```sh | ||
cd tools | ||
./debug-build.sh | ||
rm -rf env/; WISH=~/controlthings/mist/wish-c99/build/wish-core DEBUG=1 node test-suite.js test/mist-model-from-json.js | ||
``` | ||
## Running gdb and valgrind with the test framework | ||
See the script `test-suite.js`, it has options for starting wish-core and the node process under gdb or Valgrind. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25
2110564
575
86