Skip to content

Commit 8620429

Browse files
committed
Add install-lsp subcommand
1 parent 0b942cb commit 8620429

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.cargo/config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[alias]
22
# Automatically generates the ast and syntax kinds files
33
gen-syntax = "run --package tools --bin tools -- gen-syntax"
4-
# Extracts the tests from
4+
# Extracts the tests from
55
gen-tests = "run --package tools --bin tools -- gen-tests"
6+
# Installs ra_lsp_server
7+
install-lsp = "install --package ra_lsp_server --force"
68
# Installs the visual studio code extension
79
install-code = "run --package tools --bin tools -- install-code"
810
# Formats the full repository or installs the git hook to do it automatically.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ $ cargo run --package ra_cli parse < crates/ra_syntax/src/lib.rs
2929
$ cargo run --package ra_cli symbols < crates/ra_syntax/src/lib.rs
3030
3131
# install the language server
32+
$ cargo install-lsp
33+
or
3234
$ cargo install --path crates/ra_lsp_server
3335
```
3436

0 commit comments

Comments
 (0)