Skip to content

Update shake bounds of install script #1664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 7, 2021
71 changes: 39 additions & 32 deletions install/hls-install.cabal
Original file line number Diff line number Diff line change
@@ -1,40 +1,47 @@
name: hls-install
version: 0.8.0.0
synopsis: Install the haskell-language-server
license: BSD3
author: Many, TBD when we release
maintainer: samuel.pilz@posteo.net
copyright: 2019
build-type: Simple
cabal-version: >=2.0
name: hls-install
version: 0.8.0.0
synopsis: Install the haskell-language-server
license: BSD3
author: Many, TBD when we release
maintainer: samuel.pilz@posteo.net
copyright: 2019
build-type: Simple
cabal-version: >=2.0

library
hs-source-dirs: src
exposed-modules: HlsInstall
other-modules: BuildSystem
, Stack
, Version
, Cabal
, Print
, Env
, Help
build-depends: base >= 4.9 && < 5
, shake >= 0.16.4 && < 0.19
, directory
, filepath
, extra
, text
default-extensions: LambdaCase
, TupleSections
, RecordWildCards
default-language: Haskell2010
hs-source-dirs: src
exposed-modules: HlsInstall
other-modules:
BuildSystem
Cabal
Env
Help
Print
Stack
Version

build-depends:
base >=4.9 && <5
, directory
, extra
, filepath
, shake >=0.17.5
, text

default-extensions:
LambdaCase
RecordWildCards
TupleSections

default-language: Haskell2010

if flag(run-from-stack)
cpp-options: -DRUN_FROM_STACK
cpp-options: -DRUN_FROM_STACK

else
build-depends: cabal-install-parsers

flag run-from-stack
description: Inform the application that it is run from stack
default: False
manual: True
description: Inform the application that it is run from stack
default: False
manual: True