Files
hugo/testscripts/commands/config__cachedir.txt
T
2026-02-12 20:52:56 +01:00

19 lines
383 B
Plaintext

[windows] skip
env HUGO_CACHEDIR=
hugo config
[darwin] stdout 'home/Library/Caches/hugo_cache'
[linux] stdout 'xdgcachehome/hugo_cache'
# Repeat it to make sure it handles an existing hugo_cache dir.
hugo config
[darwin] stdout 'home/Library/Caches/hugo_cache'
[linux] stdout 'xdgcachehome/hugo_cache'
-- hugo.toml --
baseURL="https://example.com/"
title="My New Hugo Project"