From 9d1fa508a34f013573294794028f4ffa5a5f5f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 10 Jan 2018 16:04:06 -0800 Subject: [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. --- platform/darwin/scripts/generate-style-code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/darwin/scripts/generate-style-code.js') 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; -- cgit v1.2.1