Skip to content

[build-script] Move call_without_sleeping into the shell module #23803

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

Conversation

drodriguez
Copy link
Contributor

Move duplicated code from call_without_sleeping in build-script and build-parser-lib into the swift_build_support.shell module, so it is accessible from a common place. This will allow using that function from other modules, instead of duplicating the code.

The code has been copied without modifications. The calling sites has been prefixed with shell.. An import platform has been added to the shell module.

This was part of #23257. I’m trying to split the PR in smaller ones to make the reviews easier. Other PRs in this group are #23303.

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming that lint is happy with this, this is NFC.

@compnerd
Copy link
Member

compnerd commented Apr 4, 2019

@swift-ci please test and merge

Copy link
Contributor

@Rostepher Rostepher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants