Add stack support

This commit is contained in:
2021-05-15 00:31:36 +02:00
parent 5f6ed1292d
commit 734916728c
10 changed files with 19221 additions and 18464 deletions

View File

@@ -96,14 +96,19 @@ eghcup set ${GHC_VERSION}
eghcup rm 8.10.3
[ "$(ghc --numeric-version)" = "${ghc_ver}" ]
# install hls
if [ "${OS}" = "DARWIN" ] ; then
eghcup install hls
haskell-language-server-wrapper --version
eghcup install stack
stack --version
elif [ "${OS}" = "LINUX" ] ; then
if [ "${ARCH}" = "64" ] ; then
eghcup install hls
haskell-language-server-wrapper --version
eghcup install stack
stack --version
fi
fi