mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
uv: add build command (#21532)
Co-authored-by: znarfm <44516102+znarfm@users.noreply.github.com>
This commit is contained in:
+6
-6
@@ -20,13 +20,9 @@
|
||||
|
||||
`uv remove {{package}}`
|
||||
|
||||
- Run a script in the project's environment:
|
||||
- Run a script or a command in the project's environment:
|
||||
|
||||
`uv run {{path/to/script.py}}`
|
||||
|
||||
- Run a command in the project's environment:
|
||||
|
||||
`uv run {{command}}`
|
||||
`uv run {{path/to/script.py|command}}`
|
||||
|
||||
- Update a project's environment from `pyproject.toml`:
|
||||
|
||||
@@ -35,3 +31,7 @@
|
||||
- Create a lock file for the project's dependencies:
|
||||
|
||||
`uv lock`
|
||||
|
||||
- Build the project into source and binary distributions:
|
||||
|
||||
`uv build`
|
||||
|
||||
Reference in New Issue
Block a user