mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add uv-build
and uv_build
aliases to uv init --build-backend
(#12776)
This matches similar aliases for pdm/pdm-backend and hatch/hatchling.
This commit is contained in:
parent
d99983a630
commit
173d6f73d3
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@
|
|||
#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
pub enum ProjectBuildBackend {
|
||||
#[cfg_attr(feature = "clap", value(hide = true))]
|
||||
#[cfg_attr(
|
||||
feature = "clap",
|
||||
value(alias = "uv-build", alias = "uv_build", hide = true)
|
||||
)]
|
||||
#[cfg_attr(feature = "schemars", schemars(skip))]
|
||||
/// Use uv as the project build backend.
|
||||
Uv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue