-
Notifications
You must be signed in to change notification settings - Fork 50
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
[infra] script to change deps to path dependencies #817
Conversation
} | ||
|
||
const packagesToPin = { | ||
'native_assets_builder', |
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.
@HosseinYousefi Would this be useful for package:jnigen and package:jni as well? So that jnigen is both tested against the published package:jni and against the package:jni in the repo?
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.
Usually we release both of the versions together, expecting users to use the latests of both, so I don't think it's necessary.
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.
LGTM! Thanks @dcharkes!
} | ||
|
||
const packagesToPin = { | ||
'native_assets_builder', |
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.
Usually we release both of the versions together, expecting users to use the latests of both, so I don't think it's necessary.
This PR adds a script that rewrites pubspecs to use path dependencies between the
native_*
packages in this repo.This might be too strict if we ever need to breaking changes across multiple packages, in that case we can temporarily disable this.
Closes: #80