mirror of
https://github.com/sayanarijit/xplr.git
synced 2024-09-11 11:05:39 +03:00
30 lines
929 B
Markdown
30 lines
929 B
Markdown
|
If you are new to GitHub, visit the [first-contributions instructions](https://github.com/firstcontributions/first-contributions/blob/master/README.md) to learn how to contribute on GitHub.
|
||
|
|
||
|
If you are new to Rust, I recommend you to go through [the book](https://doc.rust-lang.org/book).
|
||
|
|
||
|
Assuming you have forked and cloned the repo locally, in order to contribute by making changes to the code follow the steps below:
|
||
|
|
||
|
- Make changes to the code
|
||
|
|
||
|
- Test the changes
|
||
|
|
||
|
```bash
|
||
|
cargo run
|
||
|
|
||
|
cargo test
|
||
|
```
|
||
|
|
||
|
- Format code and get linting helps
|
||
|
|
||
|
```bash
|
||
|
cargo fmt
|
||
|
|
||
|
cargo clippy
|
||
|
```
|
||
|
|
||
|
- Commit, push and finally create a pull request.
|
||
|
|
||
|
- Don't worry if you make a mistake, we will provide constructive feedback and guidance to improve the pull request.
|
||
|
|
||
|
- If you encounter any situation that violates our [code of conduct](https://github.com/sayanarijit/xplr/blob/main/CODE_OF_CONDUCT.md) or please report it to sayanarijit@gmail.com.
|