diff options
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 + |