-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathhs-bindgen-test-runtime.cabal
More file actions
94 lines (83 loc) · 2.28 KB
/
Copy pathhs-bindgen-test-runtime.cabal
File metadata and controls
94 lines (83 loc) · 2.28 KB
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
cabal-version: 3.0
name: hs-bindgen-test-runtime
version: 0.1.0
license: BSD-3-Clause
license-file: LICENSE
author: Well-Typed LLP
maintainer: info@well-typed.com
category: Development
build-type: Simple
synopsis: Library for testing bindings generated by hs-bindgen
tested-with:
GHC ==9.2.8
|| ==9.4.8
|| ==9.6.7
|| ==9.8.4
|| ==9.10.3
|| ==9.12.2
|| ==9.14.1
extra-source-files:
clib/*.c
clib/*.h
extra-doc-files: README.md
common lang
ghc-options:
-Wall -Widentities -Wprepositive-qualified-module
-Wredundant-constraints -Wunused-packages
-Wno-unticked-promoted-constructors
build-depends: base >=4.16 && <4.23
default-language: GHC2021
default-extensions:
DataKinds
DefaultSignatures
DeriveAnyClass
DerivingStrategies
DerivingVia
DisambiguateRecordFields
LambdaCase
MultiWayIf
PatternSynonyms
QuantifiedConstraints
TypeApplications
TypeFamilies
UndecidableInstances
ViewPatterns
if impl(ghc >=9.8)
default-extensions: TypeAbstractions
library
import: lang
hs-source-dirs: src
exposed-modules:
HsBindgen.TestRuntime.Arbitrary
HsBindgen.TestRuntime.CLib
HsBindgen.TestRuntime.GenSeq
HsBindgen.TestRuntime.Perturb
HsBindgen.TestRuntime.RealFloat
HsBindgen.TestRuntime.RepZero
HsBindgen.TestRuntime.SameSemantics
HsBindgen.TestRuntime.Storable
include-dirs: clib
install-includes: hs_bindgen_test_runtime.h
c-sources: clib/hs_bindgen_test_runtime.c
build-depends:
, QuickCheck >=2.14.3 && <2.18
, tasty-hunit >=0.10.2 && <0.11
, tasty-quickcheck >=0.10.2 && <0.12
test-suite test-hs-bindgen-test-runtime
import: lang
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
HsBindgen.TestRuntime.GenSeq.Test
HsBindgen.TestRuntime.Perturb.Test
HsBindgen.TestRuntime.SameSemantics.Test
HsBindgen.TestRuntime.Storable.Test
-- Internal dependencies
build-depends: hs-bindgen-test-runtime
-- Inherited dependencies
build-depends:
, tasty-hunit
, tasty-quickcheck
-- External dependencies
build-depends: tasty >=1.4.3 && <1.6