[darwin] Rename 'make check-public-symbols' to darwin-check-public-symbols
This commit is contained in:
4
Makefile
4
Makefile
@@ -280,8 +280,8 @@ style-code: darwin-style-code
|
||||
darwin-update-examples:
|
||||
node platform/darwin/scripts/update-examples.js
|
||||
|
||||
.PHONY: check-public-symbols
|
||||
check-public-symbols:
|
||||
.PHONY: darwin-check-public-symbols
|
||||
darwin-check-public-symbols:
|
||||
node platform/darwin/scripts/check-public-symbols.js macOS iOS
|
||||
|
||||
endif
|
||||
|
||||
@@ -294,7 +294,7 @@ commands:
|
||||
steps:
|
||||
- run:
|
||||
name: Check public symbols
|
||||
command: make check-public-symbols
|
||||
command: make darwin-check-public-symbols
|
||||
|
||||
|
||||
conditionally-skip-firebase:
|
||||
|
||||
@@ -65,7 +65,7 @@ To add any Objective-C type, constant, or member to the iOS SDK’s public inter
|
||||
|
||||
To add an Objective-C class, protocol, category, typedef, enumeration, or global constant to the iOS maps SDK’s public interface:
|
||||
|
||||
1. _(Optional.)_ Add the macro `MGL_EXPORT` prior to the declaration for classes and global constants when adding them in shared headers located in `platform/darwin`. To use this macro, include `MGLFoundation.h`. You can check whether all public symbols are exported correctly by running `make check-public-symbols`.
|
||||
1. _(Optional.)_ Add the macro `MGL_EXPORT` prior to the declaration for classes and global constants when adding them in shared headers located in `platform/darwin`. To use this macro, include `MGLFoundation.h`. You can check whether all public symbols are exported correctly by running `make darwin-check-public-symbols`.
|
||||
1. _(Optional.)_ Add the type or constant’s name to the relevant category in the `custom_categories` section of [the jazzy configuration file](./jazzy.yml). This is required for classes and protocols and also recommended for any other type that is strongly associated with a particular class or protocol. If you leave out this step, the symbol will appear in an “Other” section in the generated HTML documentation’s table of contents.
|
||||
1. _(Optional.)_ If the symbol would also be publicly exposed in the macOS maps SDK, consult [the companion macOS document](../macos/DEVELOPING.md#making-a-type-or-constant-public) for further instructions.
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ To add any Objective-C type, constant, or member to the macOS maps SDK’s publi
|
||||
|
||||
To add an Objective-C class, protocol, category, typedef, enumeration, or global constant to the macOS maps SDK’s public interface:
|
||||
|
||||
1. _(Optional.)_ Add the macro `MGL_EXPORT` prior to the declaration for classes and global constants. To use this macro, include `MGLFoundation.h`. You can check whether all public symbols are exported correctly by running `make check-public-symbols`.
|
||||
1. _(Optional.)_ Add the macro `MGL_EXPORT` prior to the declaration for classes and global constants. To use this macro, include `MGLFoundation.h`. You can check whether all public symbols are exported correctly by running `make darwin-check-public-symbols`.
|
||||
1. _(Optional.)_ Add the type or constant’s name to the relevant category in the `custom_categories` section of [the jazzy configuration file](./jazzy.yml). This is required for classes and protocols and also recommended for any other type that is strongly associated with a particular class or protocol. If you leave out this step, the symbol will appear in an “Other” section in the generated HTML documentation’s table of contents.
|
||||
1. _(Optional.)_ If the symbol would also be publicly exposed in the iOS maps SDK, consult [the companion iOS document](../ios/DEVELOPING.md#making-a-type-or-constant-public) for further instructions.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user