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

Subdirectory projects, workspaces #1

Open
kastiglione opened this issue Feb 16, 2016 · 3 comments
Open

Subdirectory projects, workspaces #1

kastiglione opened this issue Feb 16, 2016 · 3 comments

Comments

@kastiglione
Copy link
Collaborator

Thanks for sharing this project!

Is it possible to make the actions for -project and -workspace fall back to recursive globs if there are no matches for globs in the current directory? The repo I work on has more than one .xcodeproj/.xcworkspace, and they're structured into nested directories.

@kastiglione kastiglione changed the title Nested project, workspaces Subdirectory project, workspaces Feb 16, 2016
@kastiglione kastiglione changed the title Subdirectory project, workspaces Subdirectory projects, workspaces Feb 16, 2016
@keith
Copy link
Owner

keith commented Feb 16, 2016

Yea, we should definitely do this! I'll try to get to this shortly. Feel free to submit a PR in the meantime. Should be an adjustment to this line and the related workspace one.

@kastiglione
Copy link
Collaborator Author

Thanks, yes I just made that change locally. However **/*.xcodeproj is too slow for my repo. What would you say about falling back to file completion when no projects are found locally?

@keith
Copy link
Owner

keith commented Feb 16, 2016

Seems reasonable. We can check if the result == "" or not. And then fallback

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