-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Generate Xcode project at custom path #188
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
Generate Xcode project at custom path #188
Conversation
Probably doesn’t need a switch. In generate mode, if you specify a path, it uses that path.
Thoughts? edit: though this would require more work with our options parser. I'd accept a less thorough PR though that only checks after the |
Sure, I prefer being explicit, but I don't have a problem with changing it to what you're proposing. I don't think it'll be more work on the parser than this, tbh. Should I change it? |
Okay @mxcl, I simplified it, it's ready. |
I understand, but this seems pretty conventional. For example, you don't have to be explicit with
And IMO that would actually benefit from a |
If you could squash the history I'll merge 👍🏻 |
Squashed. |
print("") | ||
print("OPTIONS:") | ||
print(" --chdir <value> Change working directory before any other operation [-C]") | ||
print(" --chdir <value Change working directory before any other operation [-C]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mistake ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch, thanks!
…generates the Xcode project
Shortened the usage information & squashed. Ready for your 👀 |
Looks good to me, need CI's approval 😄 |
@swift-ci Please test |
…e_path Generate Xcode project at custom path
Strictly this does not do: $ swift build -X foo/bar.xcodeproj
generated: foo/bar.xcodeproj Which I think would be nice. |
[Basic] Adjust tracing APIs to accept 64-bit values.
Added a switch
--xcodeproj-path
to customize in which folder swiftpm generates the Xcode project.-P
--xcodeproj-path Foo
in project Bar to generate./Foo/Bar.xcodeproj