aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config
blob: 51ae33910b0afd1dd7666291c5fba48fda10aa59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[alias]
# Automatically generates the ast and syntax kinds files
gen-syntax   = "run --package tools --bin tools -- gen-syntax"
# Extracts the tests from
gen-tests    = "run --package tools --bin tools -- gen-tests"
# Installs ra_lsp_server
install-lsp = "install --path crates/ra_lsp_server --force"
# Installs ra_lsp_server with the jemalloc feature
jinstall-lsp = "install --path crates/ra_lsp_server --force --features jemalloc"
# Installs the visual studio code extension
install-code = "run --package tools --bin tools -- install-code"
# Formats the full repository or installs the git hook to do it automatically.
format       = "run --package tools --bin tools -- format"
format-hook  = "run --package tools --bin tools -- format-hook"
# Run clippy
lint         = "run --package tools --bin tools -- lint"

# Runs the fuzzing test suite (currently only parser)
fuzz-tests   = "run --package tools --bin tools -- fuzz-tests"

render-test  = "run --package ra_cli -- render-test"
# Parse a file. This should be piped the file contents
parse        = "run --package ra_cli -- parse"