diff options
author | Mike Morris <mikemorris@users.noreply.github.com> | 2016-06-20 17:18:33 -0400 |
---|---|---|
committer | Mike Morris <mikemorris@users.noreply.github.com> | 2016-06-22 13:03:43 -0400 |
commit | 67ddcc62a6f59ae85e44aa160c1d3f58749c4ad4 (patch) | |
tree | a6437c2672969387b18464a7e0b3fc9a50f585ec | |
parent | 9b533eb916b8332178a4b7f853044a63fcc72a98 (diff) | |
download | qtlocation-mapboxgl-67ddcc62a6f59ae85e44aa160c1d3f58749c4ad4.tar.gz |
[node] add BUILDTYPE=Debug support to make nodenode-v3.2.2-pre.3
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index ec3282cc0d..09f48924f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,13 +50,13 @@ after_script: matrix: include: - # Clang 3.5 - Release - Node + # Clang 3.5 - Debug - Node - os: linux sudo: required dist: trusty language: node compiler: "node4-clang35-release" - env: BUILDTYPE=Release _CXX=clang++-3.5 _CC=clang-3.5 + env: BUILDTYPE=Debug _CXX=clang++-3.5 _CC=clang-3.5 addons: *clang35 script: - nvm install 4 @@ -199,11 +199,15 @@ apackage: NODE_PRE_GYP = $(shell npm bin)/node-pre-gyp NODE_OUTPUT_PATH = build/node-$(BUILD_PLATFORM)-$(BUILD_PLATFORM_VERSION) +ifeq ($(BUILDTYPE), Debug) + NODE_DEBUG = "--debug" +endif + $(NODE_OUTPUT_PATH)/config.gypi: platform/$(BUILD_PLATFORM)/scripts/configure.sh $(CONFIG_DEPENDENCIES) ./configure $< $@ $(BUILD_PLATFORM) $(BUILD_PLATFORM_VERSION) node: $(NODE_OUTPUT_PATH)/config.gypi node_modules $(GYP_DEPENDENCIES) - $(NODE_PRE_GYP) configure --clang -- -I$< \ + $(NODE_PRE_GYP) configure --clang $(NODE_DEBUG) -- -I$< \ -Dcoverage= -Dlibuv_cflags= -Dlibuv_ldflags= -Dlibuv_static_libs= $(NODE_PRE_GYP) build --clang diff --git a/package.json b/package.json index 592559175f..fdf15f2dae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mapbox-gl-native", - "version": "3.2.1", + "version": "3.2.2-pre.3", "description": "Renders map tiles with Mapbox GL", "keywords": [ "mapbox", |