From 0c2f80c405a15d63293ae0b7ae89bdbf9f04e771 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 16 Apr 2024 10:48:00 +0200 Subject: 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. --- share/man/just.1.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'share') 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. -- cgit v1.2.3