Files
vim-lsp-settings-mirror/installer/install-puppet-ls.sh
Naoya Yamashita 352b544746 add set -e
2024-07-25 22:17:35 +09:00

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