Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for buildStyles and optional buildSettings #101

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion kin/grammar/PBXProj.g4
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ pbx_aggregate_target
isa_pbx_aggregate_target
build_configuration_list
build_phases
build_settings?
dependencies
name
product_name?
Expand Down Expand Up @@ -272,6 +273,7 @@ pbx_native_target
build_phases
build_rules
comments?
build_settings?
dependencies
name
product_install_path?
Expand Down Expand Up @@ -302,7 +304,9 @@ pbx_project
isa_pbx_project
attributes?
build_configuration_list
build_settings?
compatibility_version?
build_styles?
development_region?
has_scanned_for_encodings
known_regions?
Expand Down Expand Up @@ -604,7 +608,7 @@ children
;

product_install_path
: PRODUCT_INSTALL_PATH '=' QUOTED_STRING ';'
: PRODUCT_INSTALL_PATH '=' any_string ';'
;

repository_url
Expand Down Expand Up @@ -893,6 +897,10 @@ build_settings
'}' ';'
;

build_styles
: BUILD_STYLES '=' reference_list ';'
;

dst_path
: DST_PATH '=' any_string ';'
;
Expand Down Expand Up @@ -973,6 +981,7 @@ any_token
| ROOT_OBJECT
| PBX_AGGREGATE_TARGET
| PBX_BUILD_FILE
| PBX_BUILD_STYLE
| PBX_CONTAINER_ITEM_PROXY
| PBX_COPY_FILES_BUILD_PHASE
| PBX_FILE_REFERENCE
Expand Down Expand Up @@ -1205,6 +1214,7 @@ FILE_TYPE : 'fileType';
REMOTE_REF : 'remoteRef';
BASE_CONFIGURATION_REFERENCE : 'baseConfigurationReference';
BUILD_SETTINGS : 'buildSettings';
BUILD_STYLES : 'buildStyles';
DST_PATH : 'dstPath';
DST_SUBFOLDER_SPEC : 'dstSubfolderSpec';
PRODUCT_GROUP : 'ProductGroup';
Expand Down
Loading