Skip to content

refactor: Move logic for compiling shorebird.yaml into a new file #61

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

Merged
merged 8 commits into from
Jul 26, 2024

Conversation

eseidel
Copy link

@eseidel eseidel commented Jul 26, 2024

I also changed the logic from using a StringBuilder to using YamlEdit, that might change the output order of the yaml file but should not change the contents.

I also added our first test of this logic.

Next step is to make a flutter shorebird compile-yaml command or similar, and then have flutter.groovy call that so that we can share this logic between platforms and have a single place to edit when we need to make changes.

eseidel added 7 commits July 26, 2024 11:10
I also changed the logic from using a StringBuilder to using
YamlEdit, that might change the output order of the yaml file
but should *not* change the contents.

I also added our first test of this logic.

Next step is to make a `flutter shorebird compile-yaml` command
or similar, and then have flutter.groovy call that so that we can
share this logic between platforms and have a single place to
edit when we need to make changes.
@@ -48,6 +33,8 @@ jobs:
# Fetch all branches and tags to ensure that Flutter can determine its version
fetch-depth: 0

# TODO(eseidel): shorebird_tests seems to assume flutter is available
# yet it doesn't seem to set it up here?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't it use itself?

@eseidel eseidel merged commit ee6e7e8 into shorebird/dev Jul 26, 2024
2 of 4 checks passed
@eseidel eseidel deleted the shorebird_yaml branch July 26, 2024 20:26
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

Successfully merging this pull request may close these issues.

2 participants