mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
19 lines
350 B
Bash
Executable File
19 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -o errexit
|
|
|
|
git clone --depth=1 https://github.com/puppetlabs/puppet-editor-services.git .
|
|
bundle config set --local path 'vendor/bundle'
|
|
bundle install
|
|
bundle exec rake gem_revendor
|
|
|
|
cat <<'EOF' >puppet-ls
|
|
#!/bin/sh
|
|
set -o errexit
|
|
cd "$(dirname "$0")"
|
|
exec bundle exec ruby ./puppet-languageserver "$@"
|
|
EOF
|
|
|
|
chmod +x puppet-ls
|