lib, cli, web: remove ghc < 7.6 support
This commit is contained in:
parent
c3ba45cd48
commit
6448053448
@ -87,9 +87,6 @@ library
|
|||||||
, uglymemo
|
, uglymemo
|
||||||
, utf8-string >=0.3.5 && <1.1
|
, utf8-string >=0.3.5 && <1.1
|
||||||
, HUnit
|
, HUnit
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if flag(oldtime)
|
if flag(oldtime)
|
||||||
build-depends:
|
build-depends:
|
||||||
time <1.5
|
time <1.5
|
||||||
@ -186,9 +183,6 @@ test-suite doctests
|
|||||||
, HUnit
|
, HUnit
|
||||||
, doctest >=0.8
|
, doctest >=0.8
|
||||||
, Glob >=0.7
|
, Glob >=0.7
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if flag(oldtime)
|
if flag(oldtime)
|
||||||
build-depends:
|
build-depends:
|
||||||
time <1.5
|
time <1.5
|
||||||
@ -284,9 +278,6 @@ test-suite hunittests
|
|||||||
, hledger-lib
|
, hledger-lib
|
||||||
, test-framework
|
, test-framework
|
||||||
, test-framework-hunit
|
, test-framework-hunit
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if flag(oldtime)
|
if flag(oldtime)
|
||||||
build-depends:
|
build-depends:
|
||||||
time <1.5
|
time <1.5
|
||||||
|
|||||||
@ -74,9 +74,6 @@ dependencies:
|
|||||||
#- system-filepath
|
#- system-filepath
|
||||||
#- trifecta >= 0.91
|
#- trifecta >= 0.91
|
||||||
when:
|
when:
|
||||||
- condition: impl(ghc <7.6)
|
|
||||||
dependencies:
|
|
||||||
- ghc-prim
|
|
||||||
- condition: flag(oldtime)
|
- condition: flag(oldtime)
|
||||||
then:
|
then:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
@ -173,9 +173,6 @@ library
|
|||||||
else
|
else
|
||||||
build-depends:
|
build-depends:
|
||||||
time >=1.5
|
time >=1.5
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Application
|
Application
|
||||||
Foundation
|
Foundation
|
||||||
@ -251,9 +248,6 @@ executable hledger-web
|
|||||||
else
|
else
|
||||||
build-depends:
|
build-depends:
|
||||||
time >=1.5
|
time >=1.5
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
buildable: False
|
buildable: False
|
||||||
if flag(threaded)
|
if flag(threaded)
|
||||||
@ -317,9 +311,6 @@ test-suite test
|
|||||||
else
|
else
|
||||||
build-depends:
|
build-depends:
|
||||||
time >=1.5
|
time >=1.5
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
other-modules:
|
other-modules:
|
||||||
HomeTest
|
HomeTest
|
||||||
TestImport
|
TestImport
|
||||||
|
|||||||
@ -115,9 +115,6 @@ when:
|
|||||||
else:
|
else:
|
||||||
dependencies:
|
dependencies:
|
||||||
- time >=1.5
|
- time >=1.5
|
||||||
- condition: impl(ghc <7.6)
|
|
||||||
dependencies:
|
|
||||||
- ghc-prim
|
|
||||||
|
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -Wall
|
||||||
|
|||||||
@ -114,9 +114,6 @@ library
|
|||||||
, text >=0.11
|
, text >=0.11
|
||||||
, utf8-string >=0.3.5 && <1.1
|
, utf8-string >=0.3.5 && <1.1
|
||||||
, wizards ==1.0.*
|
, wizards ==1.0.*
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if impl(ghc >=7.10)
|
if impl(ghc >=7.10)
|
||||||
build-depends:
|
build-depends:
|
||||||
shakespeare >=2.0.2.2 && <2.1
|
shakespeare >=2.0.2.2 && <2.1
|
||||||
@ -199,9 +196,6 @@ executable hledger
|
|||||||
, text >=0.11
|
, text >=0.11
|
||||||
, utf8-string >=0.3.5 && <1.1
|
, utf8-string >=0.3.5 && <1.1
|
||||||
, wizards ==1.0.*
|
, wizards ==1.0.*
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if impl(ghc >=7.10)
|
if impl(ghc >=7.10)
|
||||||
build-depends:
|
build-depends:
|
||||||
shakespeare >=2.0.2.2 && <2.1
|
shakespeare >=2.0.2.2 && <2.1
|
||||||
@ -264,9 +258,6 @@ test-suite test
|
|||||||
, wizards ==1.0.*
|
, wizards ==1.0.*
|
||||||
, test-framework
|
, test-framework
|
||||||
, test-framework-hunit
|
, test-framework-hunit
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if impl(ghc >=7.10)
|
if impl(ghc >=7.10)
|
||||||
build-depends:
|
build-depends:
|
||||||
shakespeare >=2.0.2.2 && <2.1
|
shakespeare >=2.0.2.2 && <2.1
|
||||||
@ -309,9 +300,6 @@ benchmark bench
|
|||||||
, criterion
|
, criterion
|
||||||
, html
|
, html
|
||||||
, timeit
|
, timeit
|
||||||
if impl(ghc <7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
if impl(ghc >=7.10)
|
if impl(ghc >=7.10)
|
||||||
build-depends:
|
build-depends:
|
||||||
shakespeare >=2.0.2.2 && <2.1
|
shakespeare >=2.0.2.2 && <2.1
|
||||||
|
|||||||
@ -91,9 +91,6 @@ dependencies:
|
|||||||
- hledger-lib >= 1.3.99 && < 1.4
|
- hledger-lib >= 1.3.99 && < 1.4
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- condition: impl(ghc <7.6)
|
|
||||||
dependencies:
|
|
||||||
- ghc-prim
|
|
||||||
- condition: impl(ghc >=7.10)
|
- condition: impl(ghc >=7.10)
|
||||||
then:
|
then:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user