We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0b121 commit b75511eCopy full SHA for b75511e
install_hls.sh
@@ -1,12 +1,13 @@
1
#!/usr/bin/env bash
2
3
-set -o errexit -o xtrace; \
4
- if [[ "$GHC_VERSION" == "9.2.4" ]]; then \
5
- if test -n "$HLS_VERSION"; then \
6
- ghcup compile hls -j4 -g 26a6ca607930b85bb1a2491b8deaf1a363c2e3df --ghc $GHC_VERSION --cabal-update; \
7
- else \
8
- ghcup install hls "$HLS_VERSION" --set; \
+set -o errexit -o xtrace;
+
+if [[ "$GHC_VERSION" == "9.2.4" ]]; then
+ if test -n "$HLS_VERSION"; then
+ ghcup compile hls -j4 -g 26a6ca607930b85bb1a2491b8deaf1a363c2e3df --ghc "$GHC_VERSION" --cabal-update
+ else
9
+ ghcup install hls "$HLS_VERSION" --set
10
fi
- ghcup gc --hls-no-ghc; \
11
- haskell-language-server-wrapper --version; \
12
- fi
+ ghcup gc --hls-no-ghc;
+ haskell-language-server-wrapper --version
13
+fi
0 commit comments