diff options
Diffstat (limited to 'platform/node/DEVELOPING.md')
-rw-r--r-- | platform/node/DEVELOPING.md | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/platform/node/DEVELOPING.md b/platform/node/DEVELOPING.md index 3d07253ee..146605215 100644 --- a/platform/node/DEVELOPING.md +++ b/platform/node/DEVELOPING.md @@ -8,27 +8,28 @@ To develop these bindings, you’ll need to build them from source. Building req the [macOS](../macos/INSTALL.md#requirements) or [Linux](../linux/README.md#prerequisites) install documentation, depending on the target platform. -To compile the Node.js bindings and install module dependencies, from the repository root directory, run: +To compile the Node.js bindings and install module dependencies, from the repository root directory, first run: - npm install --build-from-source +``` +make distclean +``` -To recompile just the C++ code while developing, run `make node`. +If you are rebuilding after time has passed. -To create an Xcode project and use a GUI debugger in the case of a crash, run `make xnode`. +Then do: + +```bash +make node +``` ## Testing To test the Node.js bindings: -``` +```bash npm test ``` -To run the visual render test suite: - -``` -npm run test-suite -``` ## Merging your pull request |