blob: 2171acc4429a820c0028f532828575201a19b5ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
set -e
cd $(dirname $0)
[ -d ../servers/solargraph ] && rm -rf ../servers/solargraph
mkdir ../servers/solargraph
cd ../servers/solargraph
git clone "https://github.com/castwide/solargraph" .
call bundle install --path vendor/bundle
cat <<EOF > solargraph
#!/bin/sh
DIR=\$(cd \$(dirname \$0); pwd)
bundle exec ruby \$DIR/bin/solargraph stdio
EOF
chmod +x solargraph
|