Skip to content

翻訳 🌍

このページの翻訳を行ったり、改善したりすることができます。

コントリビュートする

tuist cache

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 --path [path]
tuist cache -p [path]

configuration Optional

Environment variable TUIST_CACHE_CONFIGURATION

Configuration to use for binary caching.

bash
tuist cache --configuration [configuration]
tuist cache -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 [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 --external-only
tuist cache --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 --generate-only
tuist cache --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 --print-hashes
tuist cache --no-print-hashes

help Optional

Show help information.

bash
tuist cache -h
tuist cache --help

Released under the MIT License.