Skip to content
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

Add feature where users can choose the schemes to generate #60

Open
macabeus opened this issue Aug 14, 2017 · 1 comment
Open

Add feature where users can choose the schemes to generate #60

macabeus opened this issue Aug 14, 2017 · 1 comment

Comments

@macabeus
Copy link

Will be good a feature where the users could choose the schemes to be generated in the xcode project.

One solution is by command line argument. For example:

swift swiftplate/main.swift  # create all schemes (iOS, macOS, watchOS, tvOS)
swift swiftplate/main.swift  --ios # create schemes only for iOS
swift swiftplate/main.swift  --ios --tvos # create schemes only for iOS and tvOS
@ythecombinator
Copy link

I do agree it'd be nice to be able to choose which schemes I want to be scaffolded but, instead of using multiple flags for multiple schemes I'd rather just pass an array of them–e.g.

swift swiftplate/main.swift  -s [iOS, macOS, watchOS]
swift swiftplate/main.swift  --schemes [iOS]

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

No branches or pull requests

2 participants