web: don't bother building hledger-web with GHC 7 on a mac
GHC 8.0+ is needed for mac Sierra+.
This commit is contained in:
parent
65807162b3
commit
758c1fbc25
@ -127,11 +127,18 @@ library:
|
|||||||
- wai-handler-launch >=1.3
|
- wai-handler-launch >=1.3
|
||||||
- warp
|
- warp
|
||||||
- yaml
|
- yaml
|
||||||
- yesod >=1.4 && < 1.7
|
|
||||||
- yesod-core >=1.4 && < 1.7
|
|
||||||
- yesod-form >=1.4 && < 1.7
|
|
||||||
- yesod-static >=1.4 && < 1.7
|
|
||||||
- HUnit
|
- HUnit
|
||||||
|
# on mac Sierra or greater, ghc 7 will fail to build yesod; don't try
|
||||||
|
when:
|
||||||
|
- condition: os(darwin) && impl(ghc < 8.0)
|
||||||
|
then:
|
||||||
|
buildable: false
|
||||||
|
else:
|
||||||
|
dependencies:
|
||||||
|
- yesod >=1.4 && < 1.7
|
||||||
|
- yesod-core >=1.4 && < 1.7
|
||||||
|
- yesod-form >=1.4 && < 1.7
|
||||||
|
- yesod-static >=1.4 && < 1.7
|
||||||
|
|
||||||
executables:
|
executables:
|
||||||
hledger-web:
|
hledger-web:
|
||||||
@ -146,6 +153,9 @@ executables:
|
|||||||
buildable: false
|
buildable: false
|
||||||
- condition: flag(threaded)
|
- condition: flag(threaded)
|
||||||
ghc-options: -threaded
|
ghc-options: -threaded
|
||||||
|
when:
|
||||||
|
- condition: os(darwin) && impl(ghc < 8.0)
|
||||||
|
buildable: false
|
||||||
|
|
||||||
# 2018/06 not building and not testing anything useful, disabled for now
|
# 2018/06 not building and not testing anything useful, disabled for now
|
||||||
# tests:
|
# tests:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user