-
Notifications
You must be signed in to change notification settings - Fork 121
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
fix(shorebird_cli): camel case flavors can confuse path finding for android #1861
Conversation
Thank you! This is going to require tests. |
added kebeb case in string extenstions and used in appbuble path in android command
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.
Please add tests for the new functionality.
@@ -7,4 +7,11 @@ void main() { | |||
expect(''.isNullOrEmpty, true); | |||
expect('test'.isNullOrEmpty, false); | |||
}); | |||
|
|||
test('ToKebabCase', () async { |
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.
What does this do for text containing spaces?
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.
it wont make any change as of now, will make changes to convert space to hypen (-).
It looks like there are also some code formatting issues that need to be fixed. Edit: test/src/extensions/string_test.dart, from https://github.com/shorebirdtech/shorebird/actions/runs/8604701717/job/23579393323?pr=1861 |
added
kebeb-case
in string extensions and used in appbundle path in android commandDescription
Ref : #1830
shorebird release android
command when passed with multi dimensional flavors, resulted in error since shorebird cant find the app bundle. It was due to the mismatch in file name path due to different case.The appbundle is created in kebab-case where as shorebird looks for filename in camelCase.
Type of Change