Skip to content

[build-script] Refactor out BuildScriptInvocation into its own file and out of the top level build-script file. #38885

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

Conversation

gottesmm
Copy link
Contributor

This shrinks the number of lines in build-script by 50% and just makes it easier
to read. It will also enable me to refactor parts of it into pieces without
touching the main build-script file. This is really library code... build-script
itself doesn't care about how BuildScriptInvocation is actually implemented
under the hood.

…nd out of the top level build-script file.

This shrinks the number of lines in build-script by 50% and just makes it easier
to read. It will also enable me to refactor parts of it into pieces without
touching the main build-script file. This is really library code... build-script
itself doesn't care about how BuildScriptInvocation is actually implemented
under the hood.
@gottesmm
Copy link
Contributor Author

@swift-ci python lint

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

@shahmishal I think that the python lint script may be running differently than the one in the lit run. Check out https://ci.swift.org/job/swift-PR-python-lint/223/. My patch didn't even touch compiler_stage! That means that such code got into the tree without the lit python test complaining.

@gottesmm gottesmm merged commit a5ba086 into swiftlang:main Aug 16, 2021
@gottesmm gottesmm deleted the pr-7974f9e68c76bd1e09103a91078956155391951b branch August 16, 2021 05:54
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.

1 participant