Skip to content

[build_script.py] Glob source files to build #56

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
Feb 28, 2016

Conversation

modocache
Copy link
Contributor

Maintaining a list of source files to build in the build_script requires a change to that file every time a new source file is added. Instead, automatically pick up any new source files with a .swift extension.


One potential downside here is that we may end up including a .swift file in the Sources/XCTest which we don't want to compile, and in that case this would no longer work. I can't really imagine why we'd want such a thing, though.

Maintaining a list of source files to build in the build_script
requires a change to that file every time a new source file is
added. Instead, automatically pick up any new source files with
a .swift extension.
@modocache
Copy link
Contributor Author

This makes good on a comment I made here: https://github.com/apple/swift-corelibs-xctest/pull/40/files#r52390643

@mike-ferris
Copy link

@swift-ci please test

mike-ferris pushed a commit that referenced this pull request Feb 28, 2016
[build_script.py] Glob source files to build
@mike-ferris mike-ferris merged commit fbf5f14 into swiftlang:master Feb 28, 2016
@modocache modocache deleted the build-script-glob-sources branch February 28, 2016 18:41
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.

2 participants