Skip to content

Commit

Permalink
content: replace deprecated CUE_MODCACHE with new CUE_CACHE_DIR env var
Browse files Browse the repository at this point in the history
Closes #453 as merged as of commit cb9a1af.

Fixes cue-lang/cue#2903.

Signed-off-by: kharf <kevinfritz210@gmail.com>
Change-Id: I34b1c30bb04fa6ab547ebbdaaea078b25118746b
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1177672
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@gmail.com>
  • Loading branch information
kharf authored and myitcv committed Mar 2, 2024
1 parent 3168163 commit a6c0ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/docs/reference/modules/en.md
Expand Up @@ -446,7 +446,7 @@ a wide range of platforms.

By default, the `cue` command caches downloaded modules in the local
filesystem. It uses the local user configuration directory by default, but
that can be changed by setting `$CUE_MODCACHE`, which is
that can be changed by setting `$CUE_CACHE_DIR`, which is
documented under [`cue help environment`]({{< relref "docs/reference/cli/cue-environment" >}}).

## Authorization
Expand Down Expand Up @@ -537,7 +537,7 @@ distributed together.

<a id="glos-module-cache"></a>
**module cache:** A local directory storing downloaded modules, located in
`$CUE_MODCACHE`. See [Module cache](#module-cache).
`$CUE_CACHE_DIR`. See [Module cache](#module-cache).

<a id="glos-module-graph"></a>
**module graph:** The directed graph of module requirements, rooted at the [main
Expand Down
4 changes: 2 additions & 2 deletions hugo/content/en/docs/reference/modules/index.md
Expand Up @@ -446,7 +446,7 @@ a wide range of platforms.

By default, the `cue` command caches downloaded modules in the local
filesystem. It uses the local user configuration directory by default, but
that can be changed by setting `$CUE_MODCACHE`, which is
that can be changed by setting `$CUE_CACHE_DIR`, which is
documented under [`cue help environment`]({{< relref "docs/reference/cli/cue-environment" >}}).

## Authorization
Expand Down Expand Up @@ -537,7 +537,7 @@ distributed together.

<a id="glos-module-cache"></a>
**module cache:** A local directory storing downloaded modules, located in
`$CUE_MODCACHE`. See [Module cache](#module-cache).
`$CUE_CACHE_DIR`. See [Module cache](#module-cache).

<a id="glos-module-graph"></a>
**module graph:** The directed graph of module requirements, rooted at the [main
Expand Down

0 comments on commit a6c0ff5

Please sign in to comment.