-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate build config from runtime config, extract cache key generation
Summary: This lays some groundwork for the decoupling of the main `metro-file-map` class from management of serialisation and caching in the next diff. It attempts to introduce a more explicit distinction between cache-breaking options, ie `BuildParameters`, and other configuration, and extracts (and simplifies) config/root hash generation. Note that this *does* change the cache key and cache file path in a number of ways, so will result in temporary cache breakage when it lands. This in part to fix an ongoing issue where the cache key changes with each Metro release, regardless of changes to `metro-file-map`. Reviewed By: motiz88 Differential Revision: D36596534 fbshipit-source-id: ff716cc7bc60f5181549af91b213b1ee29c3bcce
- Loading branch information
1 parent
a0f99e1
commit c7fc436
Showing
8 changed files
with
204 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.