In order to contribute please install a developer environment
- Install rust
- Install utilities
- Install an IDE
- Visual Studio Code
- RustRover
- Or any other IDE you prefer.
- Setup Git
On the Rust website, they recommend to install rust using this command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
As you can see, it first installs rustup
which is kind of a special install script
for all the various tools around rust, including rust itself.
They call that a "tool chain".
With rustup
you can install or update or change your rust toolchain.
Rustup itself does not really change much, so you can just as well install it via homebrew instead and leave it to a regular 'brew upgrade' to upgrade rustup now and then as well.
brew install rustup
Then go the git repo root directory and type
rustup toolchain install nightly
rustup override set nightly
Install yamlfmt — to format .yml
or .yaml
files —
by using brew
:
brew install yamlfmt
We recommend using cocogitto for anything to do with "conventional commits".
Install it as follows:
cargo install cocogitto
cog install-hook --all
Check the Cocogitto User Guide