diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-01-10 16:04:06 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-01-24 08:35:31 -0800 |
commit | 9d1fa508a34f013573294794028f4ffa5a5f5f3d (patch) | |
tree | eb6ac03a51c5206040a2b46919c2c1433a292775 /platform/darwin/scripts/generate-style-code.js | |
parent | 1a2c316f951ad4d19b0eb89eba2559801deaa385 (diff) | |
download | qtlocation-mapboxgl-9d1fa508a34f013573294794028f4ffa5a5f5f3d.tar.gz |
[build] Add temporary modifications to style spec + shaders
This ensures that the generated code matches what is checked in. Remove those temporary modifications once we add the features to master.
Diffstat (limited to 'platform/darwin/scripts/generate-style-code.js')
-rw-r--r-- | platform/darwin/scripts/generate-style-code.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js index 84ee7ac263..a5f87f2d74 100644 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -11,7 +11,7 @@ const cocoaConventions = require('./style-spec-cocoa-conventions-v8.json'); const prefix = 'MGL'; const suffix = 'StyleLayer'; -let spec = _.merge(require('../../../mapbox-gl-js/src/style-spec/reference/v8'), require('./style-spec-overrides-v8.json')); +let spec = _.merge(require('../../../scripts/style-spec'), require('./style-spec-overrides-v8.json')); // Temporarily ignore layer types defined in the style specification but not yet supported in mbgl. delete spec.layer.type.values.heatmap; |