haskell-language-server/install.hs
George Thomas 605d19a7b9
Fix haddock parse error in install.hs
Seeing as, since #209, the README suggests globally enabling `-haddock`, it's rather unfortunate for that not to work with HLS' own installation script...
2020-07-29 13:59:30 +01:00

22 lines
452 B
Haskell
Executable File

#!/usr/bin/env stack
{- stack
runghc
--stack-yaml=install/stack.yaml
--package hls-install
-}
{- cabal:
build-depends:
base
, hls-install
-}
-- call as:
-- * `cabal v2-run install.hs --project-file install/shake.project <target>`
-- * `stack install.hs <target>`
-- TODO: set `shake.project` in cabal-config above, when supported
-- (see https://github.com/haskell/cabal/issues/6353)
import HlsInstall (defaultMain)
main = defaultMain