From: Luke Lau Date: Tue, 21 Jan 2020 10:11:08 +0000 (+0000) Subject: Check for hie already existing X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=89eeebae8dc7730cbac4bb56320e307c6aab9f18 Check for hie already existing --- diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 86507b4..f7e1170 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -43,15 +43,16 @@ jobs: - name: Build HIE run: | - # if [ -e $HOME/.cabal/bin/hie ]; then - # echo "hie is already built" - # exit 0 - # fi + if [ -e $HOME/.cabal/bin/hie ]; then + echo "hie is already built" + exit 0 + fi pushd ../haskell-ide-engine cabal install hie cabal install hoogle - hoogle generate popd + - name: Generate hoogle database + run: hoogle generate - name: Install JS Language Server run: npm install javascript-typescript-langserver - name: Build