]> git.lizzy.rs Git - rust.git/blob - .cargo/config
Merge #1601
[rust.git] / .cargo / config
1 [alias]
2 # Automatically generates the ast and syntax kinds files
3 gen-syntax   = "run --package ra_tools --bin ra_tools -- gen-syntax"
4
5 # Extracts the tests from
6 gen-tests    = "run --package ra_tools --bin ra_tools -- gen-tests"
7
8 # Installs the visual studio code extension
9 install-ra   = "run --package ra_tools --bin ra_tools -- install-ra"
10 install-code = "run --package ra_tools --bin ra_tools -- install-ra" # just an alias
11
12 # Formats the full repository or installs the git hook to do it automatically.
13 format       = "run --package ra_tools --bin ra_tools -- format"
14 format-hook  = "run --package ra_tools --bin ra_tools -- format-hook"
15
16 # Run clippy
17 lint         = "run --package ra_tools --bin ra_tools -- lint"
18
19 # Runs the fuzzing test suite (currently only parser)
20 fuzz-tests   = "run --package ra_tools --bin ra_tools -- fuzz-tests"
21
22 # Parse a file. This should be piped the file contents
23 parse        = "run --package ra_cli -- parse"