From 638f26c5df125b31c5718ada6259500ef8fd5cba Mon Sep 17 00:00:00 2001 From: Dexoron Date: Tue, 21 Jul 2026 18:18:13 +0800 Subject: [PATCH] New translations build-commands.mdx (Russian) [ci skip] --- .../ru-RU/docs/commands/build-commands.mdx.mdx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs-crowdin-export/ru-RU/docs/commands/build-commands.mdx.mdx b/docs-crowdin-export/ru-RU/docs/commands/build-commands.mdx.mdx index 0a6a4b0..6ff4321 100644 --- a/docs-crowdin-export/ru-RU/docs/commands/build-commands.mdx.mdx +++ b/docs-crowdin-export/ru-RU/docs/commands/build-commands.mdx.mdx @@ -9,19 +9,20 @@ sidebar_label: Команды сборки (build, run, clean) Собирает проект по `dcr.toml`. ```bash -dcr build # debug профиль -dcr build --release # release профиль -dcr build --debug # явно debug -dcr build --profile custom # произвольный профиль +dcr build # debug profile +dcr build --release # release build +dcr build --debug # explicit debug dcr build --target aarch64-unknown-linux-gnu -dcr build --force # пересобрать всё с нуля +dcr build --force # full rebuild (also re-runs build.steps / post_steps) dcr build --clean # clean + build -dcr build --verbose # показать команды компиляции -dcr build --workspace pkg-a # собрать конкретный пакет в workspace +dcr build --verbose # show compilation commands +dcr build --workspace pkg-a # build specific workspace package ``` Артефакты: `target/\/\/\` (Linux с явным целевым объектом). +With `[archive]` in `dcr.toml`, a FAT disk image is packed after a successful build. + ## `dcr run` Собирает (если исходники новее артефакта) и запускает бинарник. @@ -29,8 +30,11 @@ dcr build --workspace pkg-a # собрать конкретный паке ```bash dcr run 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` Удаляет директорию `target/`(или `target/\/\`).