diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-16 10:48:00 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-16 14:37:46 +0200 |
commit | 0c2f80c405a15d63293ae0b7ae89bdbf9f04e771 (patch) | |
tree | 50e5b423f54f742936603d03ef9b48d33cffd3f2 /share | |
parent | c1f93f066b1d131c08b2f4bb6cdeae8ca69acd90 (diff) | |
download | justbuild-0c2f80c405a15d63293ae0b7ae89bdbf9f04e771.tar.gz |
just: support writing the error blobs from serve into a json file
... so that they are available in machine-readable form. In this
way, all logs can automatically be collected without the need of
parsing human-targeted error messages.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/just.1.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/man/just.1.md b/share/man/just.1.md index 156a6cb4..de0cf605 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -463,6 +463,17 @@ environment, as well as the expression to be evaluated, to the specified number of characters (default: 320). Supported by: analyse|build|install. +**`--serve-errors-log`** *`PATH`* +Path to local file in which **`just`** will write, in machine +readable form, the references to all errors that occurred on the +serve side. More precisely, the value will be a JSON array with one +element per failure, where the element is a pair (array of length +2) consisting of the configured target (serialized, as usual, as a +pair of qualified target name an configuration) and a string with +the hex representation of the blob identifier of the log; the log +itself is guaranteed to be available on the remote-execution side. +Supported by: analyse|build|install. + **`-P`**, **`--print-to-stdout`** *`LOGICAL_PATH`* After building, print the specified artifact to stdout. Supported by: build|install|rebuild|traverse. |