aboutsummaryrefslogtreecommitdiff
path: root/installer/install-solargraph.cmd
blob: 9493e45af06e175b5813bc81f2b852ef8ef54e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off

setlocal

cd /d %~dp0

set server_dir=..\servers\solargraph
if exist %server_dir% rd /Q /S "%server_dir%"
md "%server_dir%"
cd /d "%server_dir%"

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