mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-11-10 15:14:48 +03:00
605d19a7b9
Seeing as, since #209, the README suggests globally enabling `-haddock`, it's rather unfortunate for that not to work with HLS' own installation script...
22 lines
452 B
Haskell
Executable File
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
|