Skip to content

Commit 8ed5cbe

Browse files
committed
fix(persist-ccache-cache): rename cache_size option to ccache_maxsize
The option 'cache_size' was not being correctly mapped to the CCACHE_MAXSIZE environment variable used by the install script. DevContainer Features convert option names to environment variables using the pattern: ${FEATURE_ID}_${OPTION_NAME_UPPERCASE} Changed the option from 'cache_size' to 'ccache_maxsize' to ensure correct mapping to CCACHE_MAXSIZE in the initialization script. Fixes the issue where ccache_maxsize setting was being ignored.
1 parent 48cd379 commit 8ed5cbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/persist-ccache-cache/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "persist-ccache-cache",
33
"id": "persist-ccache-cache",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"description": "Persist ccache compiler cache across container rebuilds.",
66
"documentationURL": "https://github.com/ckagerer/devcontainer-features/tree/main/src/persist-ccache-cache",
77
"options": {
8-
"cache_size": {
8+
"ccache_maxsize": {
99
"type": "string",
1010
"default": "5G",
1111
"description": "Maximum ccache size (e.g., 5G, 10GB, 50G). Default: 5G"

0 commit comments

Comments
 (0)