-
Notifications
You must be signed in to change notification settings - Fork 3
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
Search for pubspec.yml in parent directories #10
Comments
How many parents would it need to go up? And is this use case likely? |
Up to the root folder I'd say. I think it is somewhat likely. Think of Git, you can run any git command from any folder withing the repo, I find it pretty convenient. |
To the root folder of the project, so not the absolute root of the file system? I'd be happy to play around with it a bit and see if I can find a solution. |
The filesystem root. |
I have added this here https://github.com/Agraphie/pubspec-version/tree/feature/search_parent_for_pubspec I also added tests. Do you want to create a branch here as well? I can create a pull request to that branch and we can compare and discuss better. |
Thanks. I'd like to see this as a separate PR without the unrelated (version manipulation) changes. |
Yes true. Weird I thought I used the master branch here as HEAD. I'll reset it to exclude the version changes. |
If pubspec.yaml is not found in the current directory, search in parent directories. This behavior should only be applied for the default directory.
The text was updated successfully, but these errors were encountered: