-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
50 lines (44 loc) · 1.04 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
name: &name hlint-test
version: 0.1.0.1
synopsis: Run hlint in test suite
description: >
Allows you to write small hlint test runner; so you will not
forget to run hlint before pushing to master.
homepage: https://github.com/Siprj/hlint-test#readme
license: BSD3
author: Tomáš Janoušek <[email protected]>, Jan Šipr <[email protected]>
maintainer: Jan Šipr <[email protected]>
copyright: 2017 Tomáš Janoušek, Jan Šipr
category: test
github: Siprj/hlint-test
extra-source-files:
- README.md
- CHANGES.md
dependencies:
- base >= 4.7 && < 5
- hlint >= 2.0
ghc-options:
- -Wall
- -fwarn-tabs
- -fwarn-missing-import-lists
- -fwarn-implicit-prelude
flags:
pedantic:
description: "Pass additional warning flags and -Werror to GHC."
default: false
manual: true
when:
- condition: flag(pedantic)
ghc-options:
- -Werror
library:
source-dirs: src
executables:
hlint-test:
source-dirs: driver
main: hlint-test.hs
ghc-options:
- -threaded
- -with-rtsopts=-N
dependencies:
- *name