Skip to content

Commit cb9ae04

Browse files
committed
Add project-config to all cabal files
1 parent a1a7023 commit cb9ae04

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

cardano-node-capi/cardano-node-capi.cabal

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ license-files: LICENSE
1111

1212
extra-source-files: CHANGELOG.md
1313

14+
common project-config
15+
default-language: Haskell2010
16+
1417
library
18+
import: project-config
1519
exposed-modules: Node
1620
build-depends: base
1721
, aeson >= 2.1.0.0
1822
, bytestring
1923
, cardano-node
2024
, optparse-applicative-fork
2125
hs-source-dirs: src
22-
default-language: Haskell2010

cardano-node-chairman/cardano-node-chairman.cabal

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ license-files: LICENSE
1111
NOTICE
1212
build-type: Simple
1313

14-
15-
16-
1714
common project-config
1815
default-language: Haskell2010
1916
default-extensions: NoImplicitPrelude

trace-dispatcher/trace-dispatcher.cabal

+7-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ extra-source-files: CHANGELOG.md
1414
README.md
1515
doc/trace-dispatcher.md
1616

17+
common project-config
18+
default-language: Haskell2010
19+
1720
library
21+
import: project-config
1822
hs-source-dirs: src
1923
exposed-modules: Cardano.Logging
2024
Cardano.Logging.Types
@@ -35,7 +39,6 @@ library
3539
Control.Tracer.Arrow
3640
Control.Tracer
3741

38-
default-language: Haskell2010
3942
default-extensions: OverloadedStrings
4043
build-depends: base >=4.12 && <5
4144
, aeson >= 2.1.0.0
@@ -80,6 +83,7 @@ library
8083

8184

8285
executable trace-dispatcher-examples
86+
import: project-config
8387
main-is: Main.hs
8488
other-modules: Examples.TestObjects
8589
Examples.Aggregation
@@ -91,7 +95,6 @@ executable trace-dispatcher-examples
9195
Examples.FrequencyLimiting
9296
Examples.Documentation
9397
hs-source-dirs: examples
94-
default-language: Haskell2010
9598
default-extensions: OverloadedStrings
9699
build-depends: base >=4.12 && <5
97100
, aeson >= 2.1.0.0
@@ -122,6 +125,7 @@ executable trace-dispatcher-examples
122125
-Wno-incomplete-patterns
123126

124127
test-suite trace-dispatcher-test
128+
import: project-config
125129
type: exitcode-stdio-1.0
126130
hs-source-dirs: test
127131
main-is: trace-dispatcher-test.hs
@@ -132,7 +136,6 @@ test-suite trace-dispatcher-test
132136
Cardano.Logging.Test.Messages
133137
Cardano.Logging.Test.Script
134138

135-
default-language: Haskell2010
136139
default-extensions: OverloadedStrings
137140
build-depends: base >=4.12 && <5
138141
, aeson >= 2.1.0.0
@@ -170,10 +173,10 @@ test-suite trace-dispatcher-test
170173
-Wno-incomplete-patterns
171174

172175
benchmark trace-dispatcher-bench
176+
import: project-config
173177
type: exitcode-stdio-1.0
174178
hs-source-dirs: bench, test
175179
main-is: trace-dispatcher-bench.hs
176-
default-language: Haskell2010
177180
default-extensions: OverloadedStrings
178181
other-modules: Cardano.Logging.Test.Types
179182
Cardano.Logging.Test.Oracles

trace-resources/trace-resources.cabal

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ extra-source-files: CHANGELOG.md
1414
include/os-support-darwin.h
1515
include/os-support-win.h
1616

17+
common project-config
18+
default-language: Haskell2010
19+
1720
library
21+
import: project-config
1822
hs-source-dirs: src
1923
exposed-modules: Cardano.Logging.Resources
2024
Cardano.Logging.Resources.Types
2125
Cardano.Logging.Resources.Dummy
2226

23-
default-language: Haskell2010
2427
default-extensions: OverloadedStrings
2528
build-depends: base >=4.12 && <5
2629
, trace-dispatcher
@@ -55,10 +58,10 @@ library
5558
include-dirs: include/
5659

5760
test-suite trace-resources-test
61+
import: project-config
5862
type: exitcode-stdio-1.0
5963
hs-source-dirs: test
6064
main-is: trace-resources-test.hs
61-
default-language: Haskell2010
6265
default-extensions: OverloadedStrings
6366
build-depends: base >=4.12 && <5
6467
, trace-dispatcher

0 commit comments

Comments
 (0)