forked from Liqwid-Labs/liqwid-libs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplutarch-unit.cabal
139 lines (123 loc) · 3.03 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
cabal-version: 3.0
name: plutarch-unit
version: 2.0.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 <seungheon.ooh@gmail.com>
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.18.1.0
, plutarch
, plutarch-ledger-api
default-extensions:
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveGeneric
DeriveTraversable
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GeneralisedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NoFieldSelectors
NoStarIsType
NumericUnderscores
OverloadedLabels
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
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.Precompiled
Plutarch.Test.Script
Plutarch.Test.Unit
other-modules:
build-depends:
, acc
, containers
, liqwid-plutarch-extra
, mtl
, optics-core
, optics-extra
, optics-th
, plutus-core
, plutus-ledger-api
, plutus-tx
, 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