diff options
author | Dane Springmeyer <dane@mapbox.com> | 2019-10-02 17:06:45 -0700 |
---|---|---|
committer | Dane Springmeyer <dane@mapbox.com> | 2019-10-02 17:06:45 -0700 |
commit | f6e3682d407a107c3ed19cf7915fd4ec9f089a6e (patch) | |
tree | f923b4e786cac2552a0c0bd349221f18ff3d80a4 | |
parent | 2a6c6a6c9d4dd1dfbba6f83dc3c9c5735a7d263c (diff) | |
download | qtlocation-mapboxgl-f6e3682d407a107c3ed19cf7915fd4ec9f089a6e.tar.gz |
update node developing doc
-rw-r--r-- | platform/node/DEVELOPING.md | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/platform/node/DEVELOPING.md b/platform/node/DEVELOPING.md index 3d07253ee3..f7067235f4 100644 --- a/platform/node/DEVELOPING.md +++ b/platform/node/DEVELOPING.md @@ -8,25 +8,31 @@ 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 +``` + +If you are rebuilding after time has passed. -To recompile just the C++ code while developing, run `make node`. +Then do: -To create an Xcode project and use a GUI debugger in the case of a crash, run `make xnode`. +```bash +make node +``` ## Testing To test the Node.js bindings: -``` -npm test +```bash +make test-node ``` To run the visual render test suite: -``` +```bash npm run test-suite ``` |