From f73eb0191ea25b53c56a1ce6390d6d1de7ec4e98 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Mon, 6 Jul 2026 02:21:06 +0800 Subject: [PATCH] New translations quality-commands.mdx (Russian) [ci skip] --- .../docs/commands/quality-commands.mdx.mdx | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/docs-crowdin-export/ru-RU/docs/commands/quality-commands.mdx.mdx b/docs-crowdin-export/ru-RU/docs/commands/quality-commands.mdx.mdx index cdfe503..976e2e6 100644 --- a/docs-crowdin-export/ru-RU/docs/commands/quality-commands.mdx.mdx +++ b/docs-crowdin-export/ru-RU/docs/commands/quality-commands.mdx.mdx @@ -1,40 +1,39 @@ --- -sidebar_label: Quality commands (test, fmt) +sidebar_label: Команды качества (test, fmt) --- -# Quality Commands +# Команды качества ## `dcr test` -Runs tests. +Запускает тесты. ```bash -dcr test # debug profile -dcr test --release # release profile -dcr test --debug # explicit debug -dcr test --help # detailed help +dcr test # debug профиль +dcr test --release # release профиль +dcr test --debug # явно debug ``` -Before first use, initialize tests: +Перед первым запуском нужно инициализировать тесты: ```bash dcr test --init ``` -This creates `tests/dcr_test.h` (framework) and `tests/test.c` (template). +Это создаёт `tests/dcr_test.h` (фреймворк) и `tests/test.c` (шаблон). -What `dcr test` does: +Что делает `dcr test`: 1. Builds the project 2. Collects `tests/*.c` files (`.c` only, not `.cpp`) 3. Compiles and links each test file 4. Runs each test binary 5. Prints summary: TOTAL, PASS, SKIP, FAIL -6. Returns non-zero exit code on any FAIL +6. Возвращает ненулевой код при наличии FAIL ## `dcr fmt` -Formats C/C++ source files using `clang-format`. +Форматирует исходный код C/C++ через `clang-format`. ```bash dcr fmt @@ -42,7 +41,7 @@ dcr fmt Processes: `src/**/*.{c,cpp,cxx,cc,h,hpp,hxx,hh}` and `tests/**/*.{c,cpp,cxx,cc,h,hpp,hxx,hh}`. -Uses `.clang-format` at the project root (if present), otherwise default clang-format style. +Используется файл `.clang-format` в корне проекта (если есть), иначе дефолтный стиль DCR. ## `dcr lint`