mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 02:35:33 +02:00
trunk: add page (#17376)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
b6472a3f08
commit
af14ad74e2
1 changed files with 24 additions and 0 deletions
24
pages/common/trunk.md
Normal file
24
pages/common/trunk.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# trunk
|
||||||
|
|
||||||
|
> Bundle and serve Rust web apps with CI/CD pipelines.
|
||||||
|
> More information: <https://docs.trunk.io/references/cli>.
|
||||||
|
|
||||||
|
- Start local/production server with hot reloading:
|
||||||
|
|
||||||
|
`trunk serve --port {{port}} --release --proxy-backend {{URL}}`
|
||||||
|
|
||||||
|
- Build for production at root or subdirectory:
|
||||||
|
|
||||||
|
`trunk build --release --dist {{path/to/distribution}} --public-url {{/path/to/app/subdir}}`
|
||||||
|
|
||||||
|
- List all available tools in the repo and if they are enabled:
|
||||||
|
|
||||||
|
`trunk tools list`
|
||||||
|
|
||||||
|
- Enable/disable a tool at a specific version:
|
||||||
|
|
||||||
|
`trunk tools {{enable|disable}} {{tool}}@{{version}}`
|
||||||
|
|
||||||
|
- Print an action's execution history:
|
||||||
|
|
||||||
|
`trunk actions history {{action}}`
|
Loading…
Add table
Reference in a new issue