Files
vim-lsp-settings-mirror/installer/install-solargraph.sh
2020-01-31 00:06:49 +09:00

16 lines
275 B
Bash
Executable File

#!/usr/bin/env bash
set -e
git clone "https://github.com/castwide/solargraph" .
bundle install --path vendor/bundle
cat <<EOF >solargraph
#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
cd \$DIR && bundle exec ruby \$DIR/bin/solargraph stdio
EOF
chmod +x solargraph