rust/tests
bors 6bbee5c584 Auto merge of #7217 - xFrednet:7172-metadata-collection-cargo-alias, r=flip1995
Add `cargo collect-metadata` as an cargo alias for the metadata collection lint

This PR adds a new alias to run the metadata collection monster on `clippy_lints`. I'm currently using it to create the `metadata_collection.json` file and I plan to use it in the `deply.sh` script. Having it as a new alias enables us to simply use:

```sh
cargo collect-metadata
```

It sometimes requires running `cargo clean` before collecting the metadata due to caching. I'm still debating if I should include a cargo clean as part of the `run_metadata_collection_lint` test or not. Input on this would be greatly appreciated 🙃

That's it, just a small change that can be reviewed and merged in parallel to #7214.

---

See: #7172 for the full metadata collection to-do list or to suggest a new feature in connection to it.

---

changelog: none

r? `@flip1995` btw. feel free to pass these PRs one to other team members as well if you want.
2021-05-16 16:57:15 +00:00
..
auxiliary
cargo Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
ui Add sized trait for wrong_self_convention lint test 2021-05-13 23:28:40 +02:00
ui-cargo Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
ui-internal Metadata collection: Rounding up the implementation 2021-05-05 18:38:26 +02:00
ui-toml Fix error punctuation 2021-05-02 16:56:46 -05:00
compile-test.rs Implement x.py test src/tools/clippy --bless 2021-04-27 16:57:29 +00:00
dogfood.rs Added cargo collect-metadata as a alias for the metadata collection lint 2021-05-13 01:41:22 +02:00
fmt.rs Merge commit '3d0b0e66af' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Merge commit '4911ab124c' into clippyup 2020-12-20 17:19:49 +01:00
lint_message_convention.rs Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
missing-test-files.rs Fix/allow non_fmt_panic in clippy tests. 2021-02-03 23:15:51 +01:00
versioncheck.rs Merge commit '6ed6f1e6a1' into clippyup 2021-03-12 15:30:50 +01:00