[node] Enable npm to build mapbox-gl-native package from source

- Allow node bindings to be built if git submodules cannot be checked out
 - Made geojsonvt a mason package instead of a git submodule
 - Use globally installed mason if it cannot be checked out via git submodules
This commit is contained in:
Lucas Wojciechowski
2015-09-02 13:38:37 -07:00
parent c1d2292809
commit 4e1ead344b
16 changed files with 90 additions and 32 deletions

3
.gitmodules vendored
View File

@@ -14,6 +14,3 @@
path = platform/ios/vendor/SMCalloutView
url = https://github.com/nfarina/calloutview.git
[submodule "src/mbgl/util/geojsonvt"]
path = src/mbgl/util/geojsonvt
url = https://github.com/mapbox/geojson-vt-cpp