From 3b3e5ea2a22694159072c682ca88a9407540710b Mon Sep 17 00:00:00 2001 From: Vivek Ghaisas Date: Sun, 8 Mar 2020 20:57:42 +0000 Subject: [PATCH] Mention the setup instructions in CONTRIBUTING Multiple people seem to have missed this based on questions asked in the Discord channel. Might as well mention it up front. --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4777f2fabeb..3fc9b14e8a7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,8 +28,9 @@ High level approach: 1. Find something to fix/improve 2. Change code (likely some file in `clippy_lints/src/`) -3. Run `cargo test` in the root directory and wiggle code until it passes -4. Open a PR (also can be done between 2. and 3. if you run into problems) +3. Follow the instructions in the [docs for writing lints](doc/adding_lints.md) such as running the `setup-toolchain.sh` script +4. Run `cargo test` in the root directory and wiggle code until it passes +5. Open a PR (also can be done after 2. if you run into problems) ### Finding something to fix/improve