diff options
-rw-r--r-- | .cargo/config | 4 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.cargo/config b/.cargo/config index b9db30c96..3fba0f71d 100644 --- a/.cargo/config +++ b/.cargo/config | |||
@@ -1,8 +1,10 @@ | |||
1 | [alias] | 1 | [alias] |
2 | # Automatically generates the ast and syntax kinds files | 2 | # Automatically generates the ast and syntax kinds files |
3 | gen-syntax = "run --package tools --bin tools -- gen-syntax" | 3 | gen-syntax = "run --package tools --bin tools -- gen-syntax" |
4 | # Extracts the tests from | 4 | # Extracts the tests from |
5 | gen-tests = "run --package tools --bin tools -- gen-tests" | 5 | gen-tests = "run --package tools --bin tools -- gen-tests" |
6 | # Installs ra_lsp_server | ||
7 | install-lsp = "install --path crates/ra_lsp_server --force" | ||
6 | # Installs the visual studio code extension | 8 | # Installs the visual studio code extension |
7 | install-code = "run --package tools --bin tools -- install-code" | 9 | install-code = "run --package tools --bin tools -- install-code" |
8 | # Formats the full repository or installs the git hook to do it automatically. | 10 | # Formats the full repository or installs the git hook to do it automatically. |
@@ -29,6 +29,8 @@ $ cargo run --package ra_cli parse < crates/ra_syntax/src/lib.rs | |||
29 | $ cargo run --package ra_cli symbols < crates/ra_syntax/src/lib.rs | 29 | $ cargo run --package ra_cli symbols < crates/ra_syntax/src/lib.rs |
30 | 30 | ||
31 | # install the language server | 31 | # install the language server |
32 | $ cargo install-lsp | ||
33 | or | ||
32 | $ cargo install --path crates/ra_lsp_server | 34 | $ cargo install --path crates/ra_lsp_server |
33 | ``` | 35 | ``` |
34 | 36 | ||