diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-17 00:52:46 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-17 00:52:46 +0900 |
commit | 915dfc3b4e209a255242a929147b19f376626ef6 (patch) | |
tree | 13381071c1547cc46abe171fcd6fea7d79b56570 /installer/install-solargraph.cmd | |
parent | 9a268fc46992cea9207eca627c77a6757a663f9e (diff) | |
download | vim-lsp-settings-915dfc3b4e209a255242a929147b19f376626ef6.tar.gz vim-lsp-settings-915dfc3b4e209a255242a929147b19f376626ef6.tar.bz2 vim-lsp-settings-915dfc3b4e209a255242a929147b19f376626ef6.zip |
Install loacal
Diffstat (limited to 'installer/install-solargraph.cmd')
-rw-r--r-- | installer/install-solargraph.cmd | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/installer/install-solargraph.cmd b/installer/install-solargraph.cmd index 0a1fa44..702fec6 100644 --- a/installer/install-solargraph.cmd +++ b/installer/install-solargraph.cmd @@ -1,3 +1,15 @@ @echo off -gem install --user-install solargraph +cd %~dp0 +if exist "..\servers\solargraph" rd /S /Q "..\servers\solargraph" +md "..\servers\solargraph" +cd "..\servers\solargraph" +git clone "https://github.com/castwide/solargraph" . +call bundle install --path vendor/bundle + +echo @echo off ^ + +bundle exec ruby %%~dp0\bin/solargraph stdio ^ + +> solargraph.cmd + |