Skip to content

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.

bash
tuist cache warm --path [path]
tuist cache warm -p [path]

configuration Optional

Environment variable TUIST_CACHE_CONFIGURATION

Configuration to use for binary caching.

bash
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.

bash
tuist cache warm [targets]

external-only Optional

Environment variable TUIST_CACHE_EXTERNAL_ONLY

If passed, the command doesn't cache the targets passed in the --targets argument, but only their dependencies

bash
tuist cache warm --external-only

no-external-only Optional

Environment variable TUIST_CACHE_EXTERNAL_ONLY

If passed, the command doesn't cache the targets passed in the --targets argument, but only their dependencies

bash
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.

bash
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.

bash
tuist cache warm --no-generate-only

Environment variable TUIST_CACHE_PRINT_HASHES

When passed, the hashes of the cacheable frameworks in the given project are printed.

bash
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.

bash
tuist cache warm --no-print-hashes

help Optional

Show help information.

bash
tuist cache warm -h
tuist cache warm --help

Released under the MIT License.