2018-02-03 09:51:06 +00:00
|
|
|
[alias]
|
2018-10-04 20:43:58 +00:00
|
|
|
# Automatically generates the ast and syntax kinds files
|
2018-12-31 13:14:06 +00:00
|
|
|
gen-syntax = "run --package tools --bin tools -- gen-syntax"
|
2019-01-23 18:41:23 +00:00
|
|
|
# Extracts the tests from
|
2018-12-31 13:14:06 +00:00
|
|
|
gen-tests = "run --package tools --bin tools -- gen-tests"
|
2019-01-23 18:41:23 +00:00
|
|
|
# Installs ra_lsp_server
|
|
|
|
install-lsp = "install --path crates/ra_lsp_server --force"
|
2019-01-29 17:02:06 +00:00
|
|
|
# Installs ra_lsp_server with the jemalloc feature
|
|
|
|
jinstall-lsp = "install --path crates/ra_lsp_server --force --features jemalloc"
|
2018-12-31 13:14:06 +00:00
|
|
|
# Installs the visual studio code extension
|
2018-12-09 12:27:13 +00:00
|
|
|
install-code = "run --package tools --bin tools -- install-code"
|
2018-12-31 13:14:06 +00:00
|
|
|
# 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"
|
|
|
|
# Runs the fuzzing test suite (currently only parser)
|
|
|
|
fuzz-tests = "run --package tools --bin tools -- fuzz-tests"
|
2018-07-30 19:17:33 +00:00
|
|
|
|
2018-12-31 13:14:06 +00:00
|
|
|
render-test = "run --package ra_cli -- render-test"
|
|
|
|
# Parse a file. This should be piped the file contents
|
|
|
|
parse = "run --package ra_cli -- parse"
|