aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHirokazu Hata <[email protected]>2019-01-23 18:41:23 +0000
committerHirokazu Hata <[email protected]>2019-01-23 18:48:25 +0000
commit7bd38fb927013e47015abb2e0fd5c2df7261019c (patch)
tree48f1c25a7d9de8049af013e76f46ab6cad01737a
parent0b942cbcb071811a811aa35feaa80950c2415075 (diff)
Add install-lsp subcommand
-rw-r--r--.cargo/config4
-rw-r--r--README.md2
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
3gen-syntax = "run --package tools --bin tools -- gen-syntax" 3gen-syntax = "run --package tools --bin tools -- gen-syntax"
4# Extracts the tests from 4# Extracts the tests from
5gen-tests = "run --package tools --bin tools -- gen-tests" 5gen-tests = "run --package tools --bin tools -- gen-tests"
6# Installs ra_lsp_server
7install-lsp = "install --path crates/ra_lsp_server --force"
6# Installs the visual studio code extension 8# Installs the visual studio code extension
7install-code = "run --package tools --bin tools -- install-code" 9install-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.
diff --git a/README.md b/README.md
index 8d4e32704..74f281ccb 100644
--- a/README.md
+++ b/README.md
@@ -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
33or
32$ cargo install --path crates/ra_lsp_server 34$ cargo install --path crates/ra_lsp_server
33``` 35```
34 36