Files
vim-lsp-settings-mirror/installer/install-solargraph.sh
2020-06-21 21:39:40 +09:00

16 lines
298 B
Bash
Executable File

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