Add uv build --all option (#7724)

## Summary

Resolves #7705 

## Test Plan

`cargo test` and tested locally.

The snapshots were unstable due to the packages being built in a
non-deterministic order, so I used the quiet flag to suppress the
output.

Another question is whether we should label the build output to indicate
which package it belongs to?
This commit is contained in:
Ahmed Ilyas 2024-09-27 04:46:06 +02:00 committed by GitHub
parent ed1684a0e4
commit 805f1bd6f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 469 additions and 68 deletions

View file

@ -6778,7 +6778,13 @@ uv build [OPTIONS] [SRC]
<h3 class="cli-reference">Options</h3>
<dl class="cli-reference"><dt><code>--allow-insecure-host</code> <i>allow-insecure-host</i></dt><dd><p>Allow insecure connections to a host.</p>
<dl class="cli-reference"><dt><code>--all</code></dt><dd><p>Builds all packages in the workspace.</p>
<p>The workspace will be discovered from the provided source directory, or the current directory if no source directory is provided.</p>
<p>If the workspace member does not exist, uv will exit with an error.</p>
</dd><dt><code>--allow-insecure-host</code> <i>allow-insecure-host</i></dt><dd><p>Allow insecure connections to a host.</p>
<p>Can be provided multiple times.</p>