@@ -15,37 +15,9 @@ category: Language
15
15
build-type : Simple
16
16
extra-source-files : CHANGELOG.md
17
17
18
- common base { build-depends : base >= 4.14 && < 4.15 }
19
-
20
- common cardano-api { build-depends : cardano-api }
21
- common cardano-submit-api { build-depends : cardano-submit-api }
22
-
23
- common aeson { build-depends : aeson >= 2.1.0.0 }
24
- common async { build-depends : async >= 2.2.2 }
25
- common bytestring { build-depends : bytestring >= 0.10.8.2 }
26
- common cardano-binary { build-depends : cardano-binary >= 1.5.0 }
27
- common cardano-crypto-class { build-depends : cardano-crypto-class >= 2.0.0 }
28
- common cardano-ledger-byron { build-depends : cardano-ledger-byron >= 0.1.0.0 }
29
- common formatting { build-depends : formatting >= 6.3.7 }
30
- common http-media { build-depends : http-media >= 0.8.0.0 }
31
- common iohk-monitoring { build-depends : iohk-monitoring >= 0.1.10.1 }
32
- common mtl { build-depends : mtl >= 2.2.2 }
33
- common network { build-depends : network >= 3.1.2.1 }
34
- common optparse-applicative-fork { build-depends : optparse-applicative-fork >= 0.16.1.0 }
35
- common ouroboros-consensus-cardano { build-depends : ouroboros-consensus-cardano >= 0.1.0.0 }
36
- common ouroboros-network { build-depends : ouroboros-network >= 0.1.0.0 }
37
- common prometheus { build-depends : prometheus >= 2.2.2 }
38
- common protolude { build-depends : protolude >= 0.3.0 }
39
- common servant { build-depends : servant >= 0.18.2 }
40
- common servant-server { build-depends : servant-server >= 0.18.2 }
41
- common streaming-commons { build-depends : streaming-commons >= 0.2.2.1 }
42
- common text { build-depends : text >= 1.2.3.2 }
43
- common transformers-except { build-depends : transformers-except >= 0.1.1 }
44
- common warp { build-depends : warp >= 3.3.13 }
45
- common yaml { build-depends : yaml >= 0.11.5.0 }
46
-
47
18
common project-config
48
19
default-language : Haskell2010
20
+ build-depends : base >= 4.14 && < 4.15
49
21
50
22
ghc-options : -Wall
51
23
-Wcompat
@@ -65,7 +37,7 @@ common project-config
65
37
-fwarn-redundant-constraints
66
38
67
39
library
68
- import : base, project-config
40
+ import : project-config
69
41
build-depends : , aeson
70
42
, async
71
43
, bytestring
@@ -109,15 +81,15 @@ library
109
81
, Cardano.TxSubmit.Web
110
82
111
83
executable cardano-submit-api
112
- import : base, project-config
113
- , cardano-submit-api
114
- , optparse-applicative-fork
84
+ import : project-config
115
85
main-is : Main.hs
116
86
hs-source-dirs : app
117
87
ghc-options : -threaded -rtsopts "-with-rtsopts=-T -I0"
88
+ build-depends : optparse-applicative-fork >= 0.16.1.0
89
+ , cardano-submit-api
118
90
119
91
test-suite unit
120
- import : base, project-config
92
+ import : project-config
121
93
type : exitcode-stdio-1.0
122
94
main-is : test.hs
123
95
hs-source-dirs : test
0 commit comments