mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
ecb1327fed
The new commands are $ cargo install-ra --client-code $ cargo install-ra --server --jemalloc
23 lines
947 B
Text
23 lines
947 B
Text
[alias]
|
|
# Automatically generates the ast and syntax kinds files
|
|
gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax"
|
|
|
|
# Extracts the tests from
|
|
gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests"
|
|
|
|
# Installs the visual studio code extension
|
|
install-ra = "run --package ra_tools --bin ra_tools -- install-ra"
|
|
install-code = "run --package ra_tools --bin ra_tools -- install-ra" # just an alias
|
|
|
|
# Formats the full repository or installs the git hook to do it automatically.
|
|
format = "run --package ra_tools --bin ra_tools -- format"
|
|
format-hook = "run --package ra_tools --bin ra_tools -- format-hook"
|
|
|
|
# Run clippy
|
|
lint = "run --package ra_tools --bin ra_tools -- lint"
|
|
|
|
# Runs the fuzzing test suite (currently only parser)
|
|
fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests"
|
|
|
|
# Parse a file. This should be piped the file contents
|
|
parse = "run --package ra_cli -- parse"
|