Skip to content

tuist cache

Warms the local and remote cache.

Arguments

path Optional

The path to the directory that contains the project whose targets will be cached.

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

configuration Optional

Configuration to use for binary caching.

bash
tuist cache --configuration [configuration]
tuist cache -c [configuration]

targets Optional

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 [targets]

external-only Optional

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

bash
tuist cache --external-only

generate-only Optional

When passed, it generates the project and skips warming the cache. This is useful for debugging purposes.

bash
tuist cache --generate-only

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

bash
tuist cache --print-hashes

help Optional

Show help information.

bash
tuist cache -h
tuist cache --help

Released under the MIT License.