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