Skip to content

Do not clean the Xcode build folder if the action specifies 'clean_bu… #649

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

Merged
merged 1 commit into from
Mar 22, 2022
Merged
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
7 changes: 6 additions & 1 deletion project_future.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,12 @@ def __init__(self, swiftc, swift_version, swift_branch, job_type,
self.current_platform = platform.system()
self.added_swift_flags = added_swift_flags
self.added_xcodebuild_flags = added_xcodebuild_flags
self.skip_clean = skip_clean
# Make sure Xcode build folder is not cleaned by 'git' when
# 'clean_build' is explicitly set 'false'.
clean_build = True
if 'clean_build' in action:
clean_build = action['clean_build']
self.skip_clean = skip_clean or not clean_build
self.build_config = build_config
self.strip_resource_phases = strip_resource_phases
self.time_reporter = time_reporter
Expand Down