mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-04 18:00:14 +00:00
Create CONTRIBUTING.md
This commit is contained in:
parent
82b975c5f0
commit
7f1d29f558
29
CONTRIBUTING.md
Normal file
29
CONTRIBUTING.md
Normal file
@ -0,0 +1,29 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user