Skip to content

Conversation

@reidbaker
Copy link
Contributor

@reidbaker reidbaker commented Mar 3, 2023

#93407

Inspired by the work the iOS team has done to create a similar flag.
Additionally this is pre work for helping the flutter/packages work move towards more offline CI.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 3, 2023
@reidbaker reidbaker requested a review from stuartmorgan-g March 3, 2023 21:16
@reidbaker reidbaker marked this pull request as ready for review March 6, 2023 21:55
@christopherfujino
Copy link
Contributor

christopherfujino commented Mar 6, 2023

@reidbaker
Copy link
Contributor Author

Looks like you have compilation errors in your test

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8787336610580064177/+/u/Analyze/analyze/test_stdout

Thank you, For my own notes I was able to find and fix these by useing. flutter analyze --flutter-repo

final File gradleFile = fileSystem
.directory(exampleAppDir)
.childDirectory('android')
.childFile('gradlew');
Copy link
Contributor

Choose a reason for hiding this comment

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

will this be gradlew.bat on windows?

Copy link
Contributor Author

@reidbaker reidbaker Mar 7, 2023

Choose a reason for hiding this comment

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

yes it will. I didnt realize this was something our testing relied on but I have updated the test.

], workingDirectory: exampleAppDir.path);

expect(gradleFile, exists);
expect(result.stdout, contains(RegExp(r'Config complete')));
Copy link
Contributor

Choose a reason for hiding this comment

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

could you also assert some file that an actual assemble would have generated does NOT exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can assert that the assembling log does not show which I think accomplishes the same goal while being a bit easier to implement.

Copy link
Contributor

Choose a reason for hiding this comment

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

SGTM

Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM!

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 8, 2023
@auto-submit auto-submit bot merged commit fe9e819 into flutter:master Mar 8, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 9, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
hannah-hyj pushed a commit to hannah-hyj/flutter that referenced this pull request Mar 11, 2023
Create configOnly flag for android
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 12, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants