-
Notifications
You must be signed in to change notification settings - Fork 2
/
hablog.cabal
94 lines (80 loc) · 1.79 KB
/
hablog.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
Name: hablog
Version: 0.8.1
Synopsis: A blog system
Description: blog system with tags
License: MIT
license-file: LICENSE
Author: Gil Mizrahi
Maintainer: [email protected]
Stability: Experimental
Category: Web
Build-type: Simple
Cabal-version: >=1.10
extra-source-files:
README.md
source-repository head
type: git
location: https://gitlab.com/gilmi/hablog
library
Build-depends:
base >=4.7 && <5
, bifunctors
, containers
, bytestring
, text
, directory
, filepath
, mtl
, time
, scotty
, blaze-html
, blaze-markup
, mime-types
, markdown
, feed
, network-uri
, uri-encode
exposed-modules:
Web.Hablog
Web.Hablog.Run
Web.Hablog.Router
Web.Hablog.Config
Web.Hablog.Types
Web.Hablog.Utils
Web.Hablog.Html
Web.Hablog.Post
Web.Hablog.Page
Web.Hablog.Present
Web.Hablog.Feed
exposed:
True
buildable:
True
hs-source-dirs:
src
default-language:
Haskell2010
if impl(ghc >= 6.12.0)
other-extensions:
FlexibleInstances
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
else
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
Executable hablog
hs-source-dirs: app
main-is: Main.hs
Build-depends:
base
, text
, optparse-applicative
, hablog
default-language:
Haskell2010
if impl(ghc >= 6.12.0)
other-extensions:
FlexibleInstances
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
-- for static executable:
-- ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -static -optl-static -optl-pthread -fPIC
else
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields