Skip to content

Add install-lsp subcommand #618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2019
Merged

Add install-lsp subcommand #618

merged 1 commit into from
Jan 23, 2019

Conversation

h-michael
Copy link
Contributor

related #617 (comment)

.cargo/config Outdated
gen-tests = "run --package tools --bin tools -- gen-tests"
# Installs ra-lsp-server
install-lsp = "run --package tools --bin tools -- install-lsp"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be just install --package ra_lsp_server --force, without code changes?

@matklad
Copy link
Member

matklad commented Jan 23, 2019

bors r+

bors bot added a commit that referenced this pull request Jan 23, 2019
618: Add install-lsp subcommand r=matklad a=h-michael

related #617 (comment)

Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jan 23, 2019

Canceled

@matklad
Copy link
Member

matklad commented Jan 23, 2019

bors delegate+

@bors
Copy link
Contributor

bors bot commented Jan 23, 2019

✌️ h-michael can now approve this pull request

@h-michael
Copy link
Contributor Author

@matklad sorry, re-fixed. --package is invalid option with install subcommand.

@matklad
Copy link
Member

matklad commented Jan 23, 2019

bors r+

bors bot added a commit that referenced this pull request Jan 23, 2019
617: Use npm ci instead of install r=matklad a=h-michael

fix #422

`npm install` is always recreate `package-lock.json`.
So we might use `npm ci` with `install-code`

https://docs.npmjs.com/cli/ci.html#description

618: Add install-lsp subcommand r=matklad a=h-michael

related #617 (comment)

Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jan 23, 2019

Build succeeded

@bors bors bot merged commit 7bd38fb into rust-lang:master Jan 23, 2019
@h-michael h-michael deleted the install-lsp branch January 24, 2019 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants