Skip to content

[build-script] Introduce "concat" argument action #2884

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
Jun 5, 2016

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jun 4, 2016

What's in this pull request?

Introduce concat in swift_build_support.arguments.action module.
This simplifies list like arguments processing: avoid unnecessary "list of list".


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Get rid of unnecessary list of list argument.
@rintaro rintaro force-pushed the build-script-args-concat branch from 706a0b1 to 0d6e1b1 Compare June 4, 2016 15:53
@rintaro
Copy link
Member Author

rintaro commented Jun 4, 2016

@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Jun 4, 2016

@ddunbar You might want to use this in #2880 ?

@ddunbar
Copy link
Contributor

ddunbar commented Jun 4, 2016

Yes, thanks!!

On Jun 4, 2016, at 9:06 AM, Rintaro Ishizaki [email protected] wrote:

@ddunbar Could you use this in #2880 ?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@@ -955,7 +955,7 @@ details of the setups of other systems or automated environments.""")
help="Pass through extra options to CMake in the form of comma "
"separated options '-DCMAKE_VAR1=YES,-DCMAKE_VAR2=/tmp'. Can be "
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the comment still accurate? It seems like the list is space-separated, or rather, shell-script-style.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not so accurate:(
Accept both comma and space.

@gribozavr gribozavr merged commit 4577de4 into swiftlang:master Jun 5, 2016
@rintaro rintaro deleted the build-script-args-concat branch June 22, 2016 10:00
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.

3 participants