Files
dcr/docs-crowdin-export/ru-RU/docs/contributing.mdx.mdx
2026-07-06 15:01:16 +08:00

52 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_label: Вклад
---
# Вклад
## Настройка
```bash
git clone https://github.com/dexoron/dcr
cd dcr
cargo build
```
## Стиль написания кода
Весь код форматируется через `cargo fmt`:
```bash
формат груза
```
## Линтер
```bash
cargo clippy --all-targets -- -D warnings
```
## Тесты
```bash
тест cargo --all-targets
```
## Процесс связей с общественностью
1. Форкните репозиторий
2. Создайте ветку: `git checkout -b feature/description`
3. Внесите изменения
4. Запустите `cargo fmt && cargo clippy --all-targets -- -D warnings && cargo test --all-targets`
5. Откройте Pull Request
## CI
В CI запускаются:
* `cargo fmt --check`
* `cargo clippy --all-targets -- -D warnings`
* `cargo test --all-targets`
* Сборка под Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD
* Интеграционные тесты