From 2f3eda74131f9ba17459e901a54e7536271f5ea8 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Sun, 5 Jul 2026 17:37:35 +0800 Subject: [PATCH] New translations first-steps.mdx (Russian) [ci skip] --- .../docs/getting-started/first-steps.mdx.mdx | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs-crowdin-export/ru-RU/docs/getting-started/first-steps.mdx.mdx diff --git a/docs-crowdin-export/ru-RU/docs/getting-started/first-steps.mdx.mdx b/docs-crowdin-export/ru-RU/docs/getting-started/first-steps.mdx.mdx new file mode 100644 index 0000000..c090838 --- /dev/null +++ b/docs-crowdin-export/ru-RU/docs/getting-started/first-steps.mdx.mdx @@ -0,0 +1,72 @@ +--- +sidebar_label: First steps +--- + +# First Steps + +## Create a project + +```bash +dcr new my-app +cd my-app +``` + +Structure: + +``` +my-app/ +├── dcr.toml +└── src/ + └── main.c +``` + +`dcr.toml`: + +```toml +[package] +name = "my-app" +version = "0.1.0" +type = "none" + +[build] +language = "c" +standard = "c11" +compiler = "clang" +kind = "bin" +``` + +## Build + +```bash +dcr build +``` + +Output — `target/\/debug/my-app` (Linux) or `target/debug/my-app.exe` (Windows). + +Build profiles: + +```bash +dcr build --release # release build +dcr build --debug # debug (default) +``` + +## Run + +```bash +dcr run +``` + +Builds (if needed) and runs the binary. + +## First test + +```bash +dcr test --init # create test template +dcr test # run tests +``` + +## Formatting + +```bash +dcr fmt # clang-format with .clang-format +```