Comments (7)
How many parents would it need to go up? And is this use case likely?
from pubspec-version.
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.
from pubspec-version.
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.
from pubspec-version.
The filesystem root.
from pubspec-version.
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.
from pubspec-version.
Thanks. I'd like to see this as a separate PR without the unrelated (version manipulation) changes.
from pubspec-version.
Yes true. Weird I thought I used the master branch here as HEAD. I'll reset it to exclude the version changes.
from pubspec-version.
Related Issues (8)
- Support for Flutter projects? HOT 10
- Support for Build Number? (I.e. 1.0.0+1) HOT 6
- Retain pubspec.yml contents HOT 2
- After bump patch build number completly removed from version HOT 1
- Allow updating {major,minor,patch} and build number HOT 2
- Generate a version global string in main.dart
- Directory - flag and default fail. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pubspec-version.