diff options
author | Alan Du <[email protected]> | 2019-06-03 14:43:06 +0100 |
---|---|---|
committer | Alan Du <[email protected]> | 2019-06-04 01:34:00 +0100 |
commit | a181fd318b12d0648d126b81ed031d074c8471cf (patch) | |
tree | 8f4eb163d7ad51b756cf078630803d5c7f78560b /.cargo/config | |
parent | d1b9fa446a3dbfb216fcc0b07d8a2990c632df9c (diff) |
Implement cargo lint to run clippy
Diffstat (limited to '.cargo/config')
-rw-r--r-- | .cargo/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config index b12f407e6..51ae33910 100644 --- a/.cargo/config +++ b/.cargo/config | |||
@@ -12,6 +12,9 @@ install-code = "run --package tools --bin tools -- install-code" | |||
12 | # Formats the full repository or installs the git hook to do it automatically. | 12 | # Formats the full repository or installs the git hook to do it automatically. |
13 | format = "run --package tools --bin tools -- format" | 13 | format = "run --package tools --bin tools -- format" |
14 | format-hook = "run --package tools --bin tools -- format-hook" | 14 | format-hook = "run --package tools --bin tools -- format-hook" |
15 | # Run clippy | ||
16 | lint = "run --package tools --bin tools -- lint" | ||
17 | |||
15 | # Runs the fuzzing test suite (currently only parser) | 18 | # Runs the fuzzing test suite (currently only parser) |
16 | fuzz-tests = "run --package tools --bin tools -- fuzz-tests" | 19 | fuzz-tests = "run --package tools --bin tools -- fuzz-tests" |
17 | 20 | ||