Skip to content

Commit 48ab794

Browse files
Add build_cache.path to the list of OS dependant Variables. INCOMPLETE.
1 parent 1b7dce4 commit 48ab794

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/configuration.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
| `sketch.always_export_binaries` | false | When set to `true`, make's [`arduino-cli compile`][arduino-cli compile] always save binaries to the sketch folder. This is the equivalent of using the [`--export-binaries`][arduino-cli compile options] flag. See [Arduino sketches][sketch specification]. |
2727
| `updater.enable_notification` | `true` | set to `false` to disable notifications of new Arduino CLI releases. |
2828
| `build_cache` | | configuration options related to the compilation cache |
29-
|    .`path` | [OS dependant](#default-directories) | the path to the build cache, default is `$TMP/arduino`. |
29+
|    .`path` | [OS dependant](#default-directories) | the path to the build cache. |
3030
|    .`extra_paths` | No default value | a list of paths to look for precompiled artifacts if not found on `build_cache.path` setting. |
3131
|    .`compilations_before_purge` | 10 | interval, in number of compilations, at which the cache is purged, defaults to `10`. When `0` the cache is never purged. |
3232
|    .`ttl` | `720h0m0s` | cache expiration time of build folders. If the cache is hit by a compilation the corresponding build files lifetime is renewed. The value format must be a valid input for [time.ParseDuration()](https://pkg.go.dev/time#ParseDuration), defaults to `720h` (30 days). |
@@ -51,6 +51,11 @@ The default directories.data are OS-dependent:
5151
- `{DOCUMENTS}/Arduino` on Windows;
5252
- `{HOME}/Documents/Arduino` on MacOS
5353

54+
- `build_cache.path` is
55+
- `{HOME}/.cache/arduino` on Linux;
56+
- ??? on Windows;
57+
- ??? on MacOS;
58+
5459
## Configuration methods
5560

5661
Arduino CLI may be configured in three ways:

0 commit comments

Comments
 (0)