-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Re-Re-land Implement flutter build bundle with assemble #41230
Conversation
…to bundle_assemble
…to bundle_assemble
…to bundle_assemble
@@ -84,8 +84,6 @@ abstract class CodegenDaemon { | |||
/// Only a subset of the arguments provided to the [KernelCompiler] are | |||
/// supported here. Using the build pipeline implies a fixed multiroot | |||
/// filesystem and requires a pubspec. | |||
/// |
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.
Unrelated change, but stale comment should be safe to delete...
@@ -123,7 +123,7 @@ class FileHashStore { | |||
printTrace('Persisting file store'); | |||
final File file = _cacheFile; | |||
if (!file.existsSync()) { | |||
file.createSync(); | |||
file.createSync(recursive: true); |
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.
If the parent directory was missing this crashed with a missing file exception. The test added below exercises this case
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.
Just reviewed the last commit, LGTM
…)" This reverts commit 84a476a.
Description
This reland fixes issues introduced when adjusting invalidation of the file hashes. An additional test case has been added which confirms that if the filecache is deleted we no longer crash.