1DUNE-CACHE(1)                     Dune Manual                    DUNE-CACHE(1)
2
3
4

NAME

6       dune-cache - Manage the shared cache of build artifacts
7

SYNOPSIS

9       dune cache [--size=BYTES] [--trimmed-size=BYTES] [OPTION]… [ACTION]
10

DESCRIPTION

12       Dune can share build artifacts between workspaces. Currently, the only
13       action supported by this command is `trim`, but we plan to provide more
14       functionality soon.
15

ACTIONS

17       trim trim the shared cache to free space.
18

ARGUMENTS

20       ACTION
21           The cache action to perform (trim)
22

OPTIONS

24       --size=BYTES
25           Size to trim the cache to.
26
27       --trimmed-size=BYTES
28           Size to trim from the cache.
29

EXAMPLES

31       Trimming the Dune cache to 1 GB.
32
33               $ dune cache trim --trimmed-size=1GB
34
35       Trimming 500 MB from the Dune cache.
36
37               $ dune cache trim --size=500MB
38

COMMON OPTIONS

40       These options are common to all commands.
41
42       --help[=FMT] (default=auto)
43           Show this help in format FMT. The value FMT must be one of auto,
44           pager, groff or plain. With auto, the format is pager or plain
45           whenever the TERM env var is dumb or undefined.
46
47       --version
48           Show version information.
49

MORE HELP

51       Use `dune COMMAND --help' for help on a single command.
52

EXIT STATUS

54       cache exits with the following status:
55
56       0   on success.
57
58       123 on indiscriminate errors reported on standard error.
59
60       124 on command line parsing errors.
61
62       125 on unexpected internal errors (bugs).
63

BUGS

65       Check bug reports at https://github.com/ocaml/dune/issues
66

SEE ALSO

68       dune(1)
69
70
71
72Dune n/a                                                         DUNE-CACHE(1)
Impressum