File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,26 @@ where `custom.toml` must be a relative path from the repo root.
2626
2727The results will then be saved to ` lintcheck-logs/custom_logs.toml ` .
2828
29+ ### configuring the crate sources
30+ The sources to check are saved in a ` toml ` file.
31+ There are three types of sources.
32+ A crates-io source:
33+ ```` toml
34+ bitflags = {name = " bitflags" , versions = [' 1.2.1' ]}
35+ ````
36+ Requires a "name" and one or multiple "versions" to be checked.
37+
38+ A git source:
39+ ```` toml
40+ puffin = {name = " puffin" , git_url = " https://github.com/EmbarkStudios/puffin" , git_hash = " 02dd4a3" }
41+ ````
42+ Requires a name, the url to the repo and unique identifier of a commit,
43+ branch or tag which is checked out before linting.
44+ There is no way to always check ` HEAD ` because that would lead to changing lint-results as the repo would get updated.
45+ If ` git_url ` or ` git_hash ` is missing, an error will be thrown.
46+
47+ A local dependency:
48+ ```` toml
49+ clippy = {name = " clippy" , path = " /home/user/clippy" }
50+ ````
51+ For when you want to add a repository that is not published yet.
You can’t perform that action at this time.
0 commit comments