-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
151 lines (138 loc) · 3.41 KB
/
package.yaml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
name: colorized-keys
version: 0.0
github: karamellpelle/colorized-keys
license: GPL-3
license-file: COPYING
author: [email protected]
maintainer: [email protected]
copyright: [email protected]
# FIXME: Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on Github at <https://github.com/karamellpelle/colorized-keys#readme>
language: GHC2021
extra-source-files:
- README.md
- CHANGELOG.md
data-dir: .
data-files:
- data-dir/colorized-keys/**/*
- text/**/*
- graphics/**/*
dependencies:
- base
- relude
- data-default
- microlens
- microlens-th
- microlens-mtl
- pandoc
- pandoc-types
- doctemplates
- file-io
- directory
- mtl
- aeson
- yaml
- attoparsec
- skylighting
- prettyprinter
#- os-string
#- HsYAML
#- libssh2
#- hashable
#- random
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -Wprepositive-qualified-module
- -Wno-name-shadowing
- -Wno-unused-top-binds
- -Wno-unused-matches
- -Wno-unused-imports
default-extensions:
- NoImplicitPrelude
- OverloadedStrings
- GHC2021
- LambdaCase
# - ImportQualifiedPost
# - TypeApplications
# - RankNTypes
# - ScopedTypeVariables
# - FlexibleInstances
# - GeneralizedNewtypeDeriving
# - StandaloneDeriving
# private libraries (https://github.com/sol/hpack#library-fields)
library:
source-dirs: source-lib
# https://github.com/sol/hpack#handling-of-paths_-modules
when:
- condition: false
other-modules: Paths_colorized-keys
## private libraries (https://github.com/sol/hpack#library-fields)
#internal-libraries:
# colorized-keys-internal:
# source-dirs: source-lib
# # https://github.com/sol/hpack#handling-of-paths_-modules
# when:
# - condition: false
# other-modules: Paths_colorized-keys
#
executables:
#colorize-keys:
# main: Main.hs
# source-dirs: source-app
# generated-other-modules:
# - Paths_colorized_keys
# - PackageInfo_colorized_keys
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# #- colorized-keys-internal
# - colorized-keys
# - filepath
# - gitrev
colorized-filter:
main: Main.hs
source-dirs: source-filter
generated-other-modules:
- Paths_colorized_keys
- PackageInfo_colorized_keys
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
#- colorized-keys-internal
- colorized-keys
- filepath
- gitrev
#tests:
# colorized-keys-test:
# main: Spec.hs
# source-dirs: test/colorized-keys-test
# # other-modules: <pull indidual files from project root>
# dependencies:
# #- colorized-keys-internal
# - colorized-keys
# - tasty
# - tasty-hunit
# - tasty-smallcheck
# - smallcheck
# - pretty-simple
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N