From 0d3ced3750798e97a2e94d77d4170f8dba22e889 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Sun, 5 Jul 2026 17:36:21 +0800 Subject: [PATCH] New translations build-commands.mdx (Ukrainian) [ci skip] --- .../docs/commands/build-commands.mdx.mdx | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs-crowdin-export/uk-UA/docs/commands/build-commands.mdx.mdx diff --git a/docs-crowdin-export/uk-UA/docs/commands/build-commands.mdx.mdx b/docs-crowdin-export/uk-UA/docs/commands/build-commands.mdx.mdx new file mode 100644 index 0000000..9bdd3b3 --- /dev/null +++ b/docs-crowdin-export/uk-UA/docs/commands/build-commands.mdx.mdx @@ -0,0 +1,42 @@ +--- +sidebar_label: Build commands (build, run, clean) +--- + +# Build Commands + +## `dcr build` + +Builds the project according to `dcr.toml`. + +```bash +dcr build # debug profile +dcr build --release # release build +dcr build --debug # explicit debug +dcr build --target aarch64-unknown-linux-gnu +dcr build --force # full rebuild +dcr build --clean # clean + build +dcr build --verbose # show compilation commands +dcr build --workspace pkg-a # build specific workspace package +``` + +Artifacts: `target/\/\/\` (Linux with explicit target). + +## `dcr run` + +Builds (if sources are newer than artifacts) and runs the binary. + +```bash +dcr run +dcr run --release +``` + +## `dcr clean` + +Removes `target/` directory (or `target/\/\`). + +```bash +dcr clean +dcr clean --release # target/release/ only +dcr clean --target windows # target/x86_64-pc-windows-msvc/ +dcr clean --all # clean all workspace packages +```