mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 14:38:30 +00:00
New translations first-steps.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -27,32 +27,27 @@ my-app/
|
|||||||
name = "my-app"
|
name = "my-app"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
type = "none"
|
type = "none"
|
||||||
description=""
|
|
||||||
author=""
|
|
||||||
license = "GPL-3.0-or-later"
|
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
language = "c"
|
language = "c"
|
||||||
standard = "c11"
|
standard = "c11"
|
||||||
compiler = "clang"
|
compiler = "clang"
|
||||||
kind = "bin"
|
kind = "bin"
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build
|
## Сборка
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dcr build
|
dcr build
|
||||||
```
|
```
|
||||||
|
|
||||||
Output — `target/\<triple>/debug/my-app` (Linux) or `target/debug/my-app.exe` (Windows).
|
Результат — `target/\<triple>/debug/my-app` (Linux) или `target/debug/my-app.exe` (Windows).
|
||||||
|
|
||||||
Профиль:
|
Профиль сборки:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dcr build --release # релизная сборка
|
dcr build --release # release сборка
|
||||||
dcr build --debug # дебажная (по умолчанию)
|
dcr build --debug # debug (по умолчанию)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Запустить
|
## Запустить
|
||||||
@@ -63,11 +58,11 @@ dcr run
|
|||||||
|
|
||||||
Собирает (если нужно) и запускает бинарник.
|
Собирает (если нужно) и запускает бинарник.
|
||||||
|
|
||||||
## First test
|
## Первый тест
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dcr test --init # create test template
|
dcr test --init # создать шаблон теста
|
||||||
dcr test # run tests
|
dcr test # запустить тесты
|
||||||
```
|
```
|
||||||
|
|
||||||
## Форматирование
|
## Форматирование
|
||||||
|
|||||||
Reference in New Issue
Block a user