File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,25 @@ where `custom.toml` must be a relative path from the repo root.
26
26
27
27
The results will then be saved to ` lintcheck-logs/custom_logs.toml ` .
28
28
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, branch or tag which is checked out before linting.
43
+ There is no way to always check ` HEAD ` because that would lead to changing lint-results as the repo would get updated.
44
+ If ` git_url ` or ` git_hash ` is missing, an error will be thrown.
45
+
46
+ A local dependency:
47
+ ```` toml
48
+ clippy = {name = " clippy" , path = " /home/user/clippy" }
49
+ ````
50
+ 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