]> git.lizzy.rs Git - rust.git/blob - .cargo/config
Merge #1391
[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 # Extracts the tests from
5 gen-tests    = "run --package ra_tools --bin ra_tools -- gen-tests"
6 # Installs ra_lsp_server
7 install-lsp = "install --path crates/ra_lsp_server --force"
8 # Installs ra_lsp_server with the jemalloc feature
9 jinstall-lsp = "install --path crates/ra_lsp_server --force --features jemalloc"
10 # Installs the visual studio code extension
11 install-code = "run --package ra_tools --bin ra_tools -- install-code"
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 # Run clippy
16 lint         = "run --package ra_tools --bin ra_tools -- lint"
17
18 # Runs the fuzzing test suite (currently only parser)
19 fuzz-tests   = "run --package ra_tools --bin ra_tools -- fuzz-tests"
20
21 render-test  = "run --package ra_cli -- render-test"
22 # Parse a file. This should be piped the file contents
23 parse        = "run --package ra_cli -- parse"