docs: Add more info to the update api files section
Done to try to further help new contributors and save maintainer time. Add an example of using `just check-api` and an example `git` command for devs to create the api patch now required for all changes to the public API.
This commit is contained in:
parent
3c87d0c5a3
commit
0ae5be3e42
|
@ -200,6 +200,13 @@ All PRs that change the public API of `rust-bitcoin` must include a patch to
|
||||||
the `api/` text files. This should be a separate, final patch to the PR
|
the `api/` text files. This should be a separate, final patch to the PR
|
||||||
that is the diff created by running `./contrib/check-for-api-changes.sh`.
|
that is the diff created by running `./contrib/check-for-api-changes.sh`.
|
||||||
|
|
||||||
|
Or use `just`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
just check-api
|
||||||
|
git commit -a -m 'api: Run just check-api'
|
||||||
|
```
|
||||||
|
|
||||||
### Policy
|
### Policy
|
||||||
|
|
||||||
We have various `rust-bitcoin` specific coding styles and conventions that are
|
We have various `rust-bitcoin` specific coding styles and conventions that are
|
||||||
|
|
Loading…
Reference in New Issue