mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
10d34532e3
This should help with caching on CI I hope (see .travis.yml before_cache)
23 lines
1.1 KiB
Text
23 lines
1.1 KiB
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 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 ra_tools --bin ra_tools -- install-code"
|
|
# 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"
|
|
|
|
render-test = "run --package ra_cli -- render-test"
|
|
# Parse a file. This should be piped the file contents
|
|
parse = "run --package ra_cli -- parse"
|