Skip to content

Commit

Permalink
add set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
conao3 authored and mattn committed Jul 25, 2024
1 parent 6fcb1a4 commit 352b544
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer/install-apex-jorje-lsp.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

curl -o apex-jorje-lsp.jar -L "https://github.com/forcedotcom/salesforcedx-vscode/blob/develop/packages/salesforcedx-vscode-apex/out/apex-jorje-lsp.jar?raw=true"

cat <<EOF >apex-jorje-lsp
Expand Down
2 changes: 2 additions & 0 deletions installer/install-cl-lsp.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

set -e

ros install cxxxr/lem cxxxr/cl-lsp
3 changes: 3 additions & 0 deletions installer/install-clj-kondo-lsp.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh

set -e

VERSION="2020.05.09"
curl -L -o clj-kondo-lsp https://github.com/borkdude/clj-kondo/releases/download/v$VERSION/clj-kondo-lsp-server-$VERSION-standalone.jar
2 changes: 2 additions & 0 deletions installer/install-fortls.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

set -e

"$(dirname "$0")/pip_install.sh" fortls fortran-language-server
2 changes: 2 additions & 0 deletions installer/install-puppet-ls.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh

set -e
set -o errexit

git clone --depth=1 https://github.com/puppetlabs/puppet-editor-services.git .
Expand Down
2 changes: 2 additions & 0 deletions installer/install-racket-lsp.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

raco pkg install racket-langserver
cat <<EOF >racket-lsp
#!/bin/sh
Expand Down
2 changes: 2 additions & 0 deletions installer/install-v-analyzer.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

url="https://raw.githubusercontent.com/v-analyzer/v-analyzer/master/install.vsh"

# Replace hard-coded installation path "~/.config/v-analyzer" with "."
Expand Down
3 changes: 3 additions & 0 deletions installer/install-vlang-vls.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh

set -e

git clone --depth=1 https://github.com/vlang/vls .

echo 'Compiling vlang/vls...'
Expand Down

0 comments on commit 352b544

Please sign in to comment.