-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtldr.cabal
100 lines (93 loc) · 2.17 KB
/
tldr.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: tldr
version: 0.9.2
synopsis: Haskell tldr client
description: Haskell tldr client with support for viewing tldr pages. Has offline
cache for accessing pages. Visit https://tldr.sh for more details.
category: Web, CLI
homepage: https://github.com/psibi/tldr-hs#readme
bug-reports: https://github.com/psibi/tldr-hs/issues
author: Sibi Prabakaran
maintainer: [email protected]
copyright: 2017 Sibi Prabakaran
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
test/data/grep.golden
test/data/ls.golden
test/data/ps.golden
test/data/grep.md
test/data/ls.md
test/data/ps.md
source-repository head
type: git
location: https://github.com/psibi/tldr-hs
flag static
description: Statically link executables.
manual: True
default: False
library
exposed-modules:
Tldr
Tldr.App
Tldr.App.Constant
Tldr.App.Handler
Tldr.Parser
Tldr.Types
other-modules:
Paths_tldr
hs-source-dirs:
src
ghc-options: -Wall -O2
build-depends:
ansi-terminal
, attoparsec
, base >=4.7 && <5
, bytestring
, cmark
, containers
, directory
, filepath
, http-conduit
, optparse-applicative
, semigroups
, text
, time
, zip-archive
default-language: Haskell2010
executable tldr
main-is: Main.hs
other-modules:
Paths_tldr
hs-source-dirs:
app
ghc-options: -Wall -O2
build-depends:
base
, tldr
if flag(static) && os(linux)
ghc-options: -rtsopts -threaded -optc-Os -optl=-pthread -optl=-static -fPIC
ld-options: -static
else
ghc-options: -rtsopts -threaded
default-language: Haskell2010
test-suite tldr-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_tldr
hs-source-dirs:
test
ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, tasty
, tasty-golden
, tldr
default-language: Haskell2010