-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathslugger.cabal
72 lines (63 loc) · 1.99 KB
/
slugger.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
cabal-version: 3.0
name: slugger
version: 0.1.0.2
synopsis: Clean URI slugs for Haskell
description: Convert multi-language text to a US-ASCII, lowercase, hyphenated, URI-friendly "slug"
homepage: https://github.com/rpearce/slugger
bug-reports: https://github.com/rpearce/slugger/issues
license: BSD-3-Clause
license-file: LICENSE
author: Robert W. Pearce <[email protected]>
maintainer: Robert W. Pearce <[email protected]>
copyright: 2021 Robert W. Pearce
category: Data, Text, Web
extra-source-files: CHANGELOG.md
, README.md
source-repository head
type: git
location: git://github.com/rpearce/slugger.git
flag dev
description: Use development settings
default: False
manual: True
common lang
default-language: Haskell2010
common deps
build-depends:
base >= 4.8 && < 5
, text >= 1 && < 3
, text-icu >= 0.7 && < 0.9
common self-dep
build-depends: slugger
common flags
if flag(dev)
ghc-options:
-Wall
-Wcompat
-Werror
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
else
ghc-options:
-Wall
library
import: lang, flags, deps
exposed-modules: Data.String.Slugger
Data.Text.Slugger
hs-source-dirs: lib
executable slugger
import: lang, flags, deps, self-dep
main-is: Main.hs
hs-source-dirs: app
ghc-options: -rtsopts
-threaded
-with-rtsopts=-N
test-suite slugger-test
import: lang, flags, deps, self-dep
main-is: SluggerTest.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
build-depends: hspec >= 2 && < 3