Cache Profiles Fixture
This fixture demonstrates configuring cache profiles.
What it contains:
- An internal framework
ExpensiveModulereferenced by name in the profile. - A second internal framework
TaggedModuletagged withcacheableand matched via thetag:cacheablequery in the profile. - A third internal framework
NonCacheableModuleto validate best-effort replacement: it depends onExpensiveModule, allowing you to observe replacements affecting dependencies.
Usage:
You can exercise this fixture by warming the cache:
bash
tuist cacheThen generate the project using the configured profile:
bash
# Use the default "development" profile (only-external + selected internals)
tuist generate
# Replace as many as possible (internals too), excluding focused targets
tuist generate --cache-profile all-possible
# No binary replacement at all
tuist generate --cache-profile none