mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 02:55:39 +03:00
22 lines
450 B
Haskell
Executable File
22 lines
450 B
Haskell
Executable File
#!/usr/bin/env stack
|
|
{- stack
|
|
runghc
|
|
--stack-yaml=install/shake.yaml
|
|
--package hie-install
|
|
-}
|
|
{- cabal:
|
|
build-depends:
|
|
base
|
|
, hie-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 HieInstall (defaultMain)
|
|
|
|
main = defaultMain
|