-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPKGNAME.cabal
68 lines (60 loc) · 1.66 KB
/
PKGNAME.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
cabal-version: 2.4
name: PKGNAME
version: 0
license: BSD-3-Clause
build-type: Simple
license-file: LICENSE
author: AUTHNAME
maintainer: AUTHNAME <EMAIL>
copyright: CURRENTYEAR AUTHNAME
tested-with: GHC ==8.6.5 || ==8.8.3 || ==8.10.7 || ==9.0.2 || ==9.2.2
extra-doc-files:
CHANGELOG.md
README.md
-- category:
-- description: description
-- synopsis: one-line synopsis
-- homepage: https://github.com/FIXME/PKGNAME#readme
-- source-repository head
-- type: git
-- location: git://github.com/FIXME/PKGNAME.git
common common-options
build-depends: base >=4.9 && <5
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-fhide-source-paths -Wpartial-fields
library
import: common-options
hs-source-dirs: src
exposed-modules: Lib
build-depends:
, containers
, mtl
executable PKGNAME-exe
import: common-options
hs-source-dirs: app
main-is: Main.hs
build-depends: PKGNAME
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite PKGNAME-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
, hspec
, HUnit
, PKGNAME
, QuickCheck
ghc-options: -threaded -rtsopts -with-rtsopts=-N
benchmark PKGNAME-bench
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
build-depends:
, criterion
, PKGNAME
ghc-options: -threaded -rtsopts -with-rtsopts=-N