From 9ee2086f9f910ac7cd930dffc4888c7c515962fc Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 27 Mar 2024 15:30:37 +0100 Subject: just install-cas: add option --archive Trees are first-class objects for justbuild. To allow interoperation with other tools, it is necessary to provide those objects in a standard format; for directories, those are archives. Hence procive a corresponding option. --- share/man/just.1.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/just.1.md b/share/man/just.1.md index de84f44b..812cd33f 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -496,9 +496,16 @@ Install path for the artifact. Refer to **`install-cas`** section for more details. Supported by: install-cas. +**`--archive`** +Instead of installing the requested tree, install an archive with the +content of the tree. It is a user error to specify **`--archive`** and +not request a tree. +Supported by: install-cas. + **`--raw-tree`** When installing a tree to stdout, i.e., when no option **`-o`** is given, -dump the raw tree rather than a pretty-printed version. +dump the raw tree rather than a pretty-printed version. This option is +ignored if **`--archive`** is given. Supported by: install-cas. **`-P`**, **`--sub-object-path`** *`PATH`* -- cgit v1.2.3