lib: similar package.yaml whitespace
This commit is contained in:
parent
2036260bb8
commit
3778db9ec7
@ -17,9 +17,13 @@ maintainer: Simon Michael <simon@joyful.com>
|
|||||||
github: simonmichael/hledger
|
github: simonmichael/hledger
|
||||||
homepage: http://hledger.org
|
homepage: http://hledger.org
|
||||||
bug-reports: http://bugs.hledger.org
|
bug-reports: http://bugs.hledger.org
|
||||||
|
stability: stable
|
||||||
|
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
|
||||||
|
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
- CHANGES
|
- CHANGES
|
||||||
- README
|
- README
|
||||||
|
|
||||||
data-files:
|
data-files:
|
||||||
- doc/hledger_csv.5
|
- doc/hledger_csv.5
|
||||||
- doc/hledger_csv.5.txt
|
- doc/hledger_csv.5.txt
|
||||||
@ -33,11 +37,13 @@ data-files:
|
|||||||
- doc/hledger_timeclock.5
|
- doc/hledger_timeclock.5
|
||||||
- doc/hledger_timeclock.5.txt
|
- doc/hledger_timeclock.5.txt
|
||||||
- doc/hledger_timeclock.5.info
|
- doc/hledger_timeclock.5.info
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
oldtime:
|
oldtime:
|
||||||
description: If building with time < 1.5, also depend on old-locale. Set automatically by cabal.
|
description: If building with time < 1.5, also depend on old-locale. Set automatically by cabal.
|
||||||
manual: false
|
manual: false
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.8 && <5
|
- base >=4.8 && <5
|
||||||
- base-compat >=0.8.1
|
- base-compat >=0.8.1
|
||||||
@ -73,6 +79,7 @@ dependencies:
|
|||||||
#- parsers >= 0.5
|
#- parsers >= 0.5
|
||||||
#- system-filepath
|
#- system-filepath
|
||||||
#- trifecta >= 0.91
|
#- trifecta >= 0.91
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- condition: flag(oldtime)
|
- condition: flag(oldtime)
|
||||||
then:
|
then:
|
||||||
@ -82,6 +89,7 @@ when:
|
|||||||
else:
|
else:
|
||||||
dependencies:
|
dependencies:
|
||||||
- time >=1.5
|
- time >=1.5
|
||||||
|
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -Wall
|
||||||
- -fno-warn-unused-do-bind
|
- -fno-warn-unused-do-bind
|
||||||
@ -89,9 +97,11 @@ ghc-options:
|
|||||||
- -fno-warn-missing-signatures
|
- -fno-warn-missing-signatures
|
||||||
- -fno-warn-type-defaults
|
- -fno-warn-type-defaults
|
||||||
- -fno-warn-orphans
|
- -fno-warn-orphans
|
||||||
|
|
||||||
source-dirs:
|
source-dirs:
|
||||||
#- other/ledger-parse
|
#- other/ledger-parse
|
||||||
- .
|
- .
|
||||||
|
|
||||||
library:
|
library:
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
- Hledger
|
- Hledger
|
||||||
@ -141,6 +151,7 @@ library:
|
|||||||
- Text.Megaparsec.Compat
|
- Text.Megaparsec.Compat
|
||||||
# other-modules:
|
# other-modules:
|
||||||
# - Ledger.Parser.Text
|
# - Ledger.Parser.Text
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
doctests:
|
doctests:
|
||||||
main: doctests.hs
|
main: doctests.hs
|
||||||
@ -155,5 +166,3 @@ tests:
|
|||||||
- hledger-lib
|
- hledger-lib
|
||||||
- test-framework
|
- test-framework
|
||||||
- test-framework-hunit
|
- test-framework-hunit
|
||||||
stability: stable
|
|
||||||
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user