diff options
author | Hirokazu Hata <[email protected]> | 2019-01-23 18:41:23 +0000 |
---|---|---|
committer | Hirokazu Hata <[email protected]> | 2019-01-23 18:48:25 +0000 |
commit | 7bd38fb927013e47015abb2e0fd5c2df7261019c (patch) | |
tree | 48f1c25a7d9de8049af013e76f46ab6cad01737a | |
parent | 0b942cbcb071811a811aa35feaa80950c2415075 (diff) |
Add install-lsp subcommand
-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 | ||