tuist cache warm
Warms the local and remote cache.
Arguments#
path Optional#
Environment variable TUIST_CACHE_PATH
The path to the directory that contains the project whose targets will be cached.
tuist cache warm --path [path]
tuist cache warm -p [path]
configuration Optional#
Environment variable TUIST_CACHE_CONFIGURATION
Configuration to use for binary caching.
tuist cache warm --configuration [configuration]
tuist cache warm -c [configuration]
targets Optional#
Environment variable TUIST_CACHE_TARGETS
A list of targets to cache. Those and their dependant targets will be cached. If no target is specified, all the project targets (excluding the external ones) and their dependencies will be cached.
tuist cache warm [targets]
external-only Optional Deprecated#
Environment variable TUIST_CACHE_EXTERNAL_ONLY
If passed, the command doesn't cache the targets passed in the --targets argument, but only their dependencies. Deprecated: use --cache-profile only-external instead.
tuist cache warm --external-only
no-external-only Optional Deprecated#
Environment variable TUIST_CACHE_EXTERNAL_ONLY
If passed, the command doesn't cache the targets passed in the --targets argument, but only their dependencies. Deprecated: use --cache-profile only-external instead.
tuist cache warm --no-external-only
generate-only Optional#
Environment variable TUIST_CACHE_GENERATE_ONLY
When passed, it generates the project and skips warming the cache. This is useful for debugging purposes.
tuist cache warm --generate-only
no-generate-only Optional#
Environment variable TUIST_CACHE_GENERATE_ONLY
When passed, it generates the project and skips warming the cache. This is useful for debugging purposes.
tuist cache warm --no-generate-only
cache-profile Optional#
Environment variable TUIST_CACHE_PROFILE
Cache profile to use for warming. Accepts built-in profiles (only-external, all-possible, none) or a custom profile name defined in your Tuist configuration. Applies the same profile-based target filtering as tuist generate, including base behavior, targetQueries, and exceptTargetQueries.
tuist cache warm --cache-profile [cache-profile]
print-hashes Optional#
Environment variable TUIST_CACHE_PRINT_HASHES
When passed, the hashes of the cacheable frameworks in the given project are printed.
tuist cache warm --print-hashes
no-print-hashes Optional#
Environment variable TUIST_CACHE_PRINT_HASHES
When passed, the hashes of the cacheable frameworks in the given project are printed.
tuist cache warm --no-print-hashes