mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 19:39:31 +00:00
New translations build-commands.mdx (German)
[ci skip]
This commit is contained in:
@@ -13,7 +13,7 @@ dcr build # debug profile
|
|||||||
dcr build --release # release build
|
dcr build --release # release build
|
||||||
dcr build --debug # explicit debug
|
dcr build --debug # explicit debug
|
||||||
dcr build --target aarch64-unknown-linux-gnu
|
dcr build --target aarch64-unknown-linux-gnu
|
||||||
dcr build --force # full rebuild
|
dcr build --force # full rebuild (also re-runs build.steps / post_steps)
|
||||||
dcr build --clean # clean + build
|
dcr build --clean # clean + build
|
||||||
dcr build --verbose # show compilation commands
|
dcr build --verbose # show compilation commands
|
||||||
dcr build --workspace pkg-a # build specific workspace package
|
dcr build --workspace pkg-a # build specific workspace package
|
||||||
@@ -21,6 +21,8 @@ dcr build --workspace pkg-a # build specific workspace package
|
|||||||
|
|
||||||
Artifacts: `target/\<triple>/\<profile>/\<binary-name>` (Linux with explicit target).
|
Artifacts: `target/\<triple>/\<profile>/\<binary-name>` (Linux with explicit target).
|
||||||
|
|
||||||
|
With `[archive]` in `dcr.toml`, a FAT disk image is packed after a successful build.
|
||||||
|
|
||||||
## `dcr run`
|
## `dcr run`
|
||||||
|
|
||||||
Builds (if sources are newer than artifacts) and runs the binary.
|
Builds (if sources are newer than artifacts) and runs the binary.
|
||||||
@@ -28,8 +30,11 @@ Builds (if sources are newer than artifacts) and runs the binary.
|
|||||||
```bash
|
```bash
|
||||||
dcr run
|
dcr run
|
||||||
dcr run --release
|
dcr run --release
|
||||||
|
dcr run --force # force rebuild then run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On a **workspace-only** root: if `[run].cmd` is set, that command is used after build; otherwise DCR delegates to a workspace member.
|
||||||
|
|
||||||
## `dcr clean`
|
## `dcr clean`
|
||||||
|
|
||||||
Removes `target/` directory (or `target/\<target>/\<profile>`).
|
Removes `target/` directory (or `target/\<target>/\<profile>`).
|
||||||
|
|||||||
Reference in New Issue
Block a user