Skip to content

Commit

Permalink
Fix style code generation, remove package.json ios (maplibre#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers authored Mar 3, 2023
1 parent fb1572b commit 5b55f15
Show file tree
Hide file tree
Showing 35 changed files with 97 additions and 7,256 deletions.
18 changes: 0 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,6 @@

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 3
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/platform/android"
schedule:
interval: "weekly"
open-pull-requests-limit: 3
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/platform/ios"
schedule:
interval: "weekly"
open-pull-requests-limit: 3
versioning-strategy: increase
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/background_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class BackgroundLayer final : public Layer {
TransitionOptions getBackgroundPatternTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/circle_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class CircleLayer final : public Layer {
TransitionOptions getCircleTranslateAnchorTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/fill_extrusion_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class FillExtrusionLayer final : public Layer {
TransitionOptions getFillExtrusionVerticalGradientTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/fill_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class FillLayer final : public Layer {
TransitionOptions getFillTranslateAnchorTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/heatmap_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class HeatmapLayer final : public Layer {
TransitionOptions getHeatmapWeightTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/hillshade_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class HillshadeLayer final : public Layer {
TransitionOptions getHillshadeShadowColorTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/line_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ class LineLayer final : public Layer {
TransitionOptions getLineWidthTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/location_indicator_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class LocationIndicatorLayer final : public Layer {
TransitionOptions getTopImageSizeTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/raster_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class RasterLayer final : public Layer {
TransitionOptions getRasterSaturationTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
1 change: 0 additions & 1 deletion include/mbgl/style/layers/symbol_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ class SymbolLayer final : public Layer {
TransitionOptions getTextTranslateAnchorTransition() const;

// Private implementation
/// @cond FALSE

class Impl;
const Impl& impl() const;
Expand Down
5 changes: 2 additions & 3 deletions platform/ios/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export CI ?= 0
# Getting rid of the duplicate package.json file is an open issue
# https://github.com/maplibre/maplibre-gl-native/issues/657

export NODE_PATH = ./node_modules
export NODE_PATH = ../../node_modules

CMAKE ?= cmake

Expand Down Expand Up @@ -156,7 +156,7 @@ ios: $(IOS_PROJ_PATH)

# make iproj
.PHONY: iproj
iproj: $(IOS_PROJ_PATH)
iproj: $(IOS_PROJ_PATH) style-code
@# Check if Xcode should run in headless mode
@# If CI=1, then just perform `make iproj`
@# else, use `xed` to open the XCworkspace
Expand Down Expand Up @@ -331,7 +331,6 @@ endif
.PHONY: style-code
style-code:
node ../../scripts/generate-style-code.js
# node ../../scripts/generate-shaders.js

.PHONY: codestyle
codestyle:
Expand Down
Loading

0 comments on commit 5b55f15

Please sign in to comment.