-
Notifications
You must be signed in to change notification settings - Fork 10
/
plutarch-unit.cabal
141 lines (125 loc) · 3.06 KB
/
plutarch-unit.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
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
cabal-version: 3.0
name: plutarch-unit
version: 1.3.0
synopsis: Unit checks for Plutarch
description:
An independent unitcheck library for constructing unit checks for Plutarch.
homepage: https://github.com/Liqwid-Labs/plutarch-unit
bug-reports: https://github.com/Liqwid-Labs/plutarch-unit/issues
author: Seungheon Oh
maintainer: Seungheon Oh <[email protected]>
copyright: (C) 2022 Liqwid Labs
category: Plutarch
build-type: Simple
tested-with: GHC ==9.2.3
extra-source-files: README.md
-- LICENSE
source-repository head
type: git
location: https://github.com/Liqwid-Labs/plutrach-unit
-- Flags
flag development
description: Disable -Werror during development mode
default: False
manual: True
-- Common sections
common common-lang
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-Wmissing-export-lists -Wmissing-deriving-strategies
-Wno-partial-type-signatures
-- TODO, 2022-10-07: We should rely on LPE's pprelude,
-- but I'm not totally sure how to make this happen
-- in nix.
-- mixins:
-- base hiding (Prelude),
-- pprelude (PPrelude as Prelude)
if !flag(development)
ghc-options: -Werror
build-depends:
, base ^>=4.16
, plutarch
default-extensions:
NoStarIsType
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveGeneric
DeriveTraversable
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GeneralisedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NumericUnderscores
OverloadedLabels
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
NoFieldSelectors
default-language: Haskell2010
common common-tests
import: common-lang
ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
, bytestring
, liqwid-plutarch-extra
, plutarch
, plutarch-unit
, plutus-core
, plutus-tx
, QuickCheck
, tasty
, tasty-hunit
, tasty-quickcheck
library
import: common-lang
exposed-modules:
Plutarch.Test.Export
Plutarch.Test.Precompiled
Plutarch.Test.Script
Plutarch.Test.Unit
other-modules:
build-depends:
, acc
, containers
, liqwid-plutarch-extra
, liqwid-script-export
, mtl
, optics-core
, optics-extra
, optics-th
, plutus-core
, plutus-ledger-api
, plutus-tx
, ply-core
, pretty
, pretty-show
, selective
, semigroupoids
, tagged
, tasty
, tasty-hunit
, text
, transformers
hs-source-dirs: src
test-suite sample
import: common-lang, common-tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: sample