-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Distribution.Simple | ||
|
||
main = defaultMain |
36 changes: 36 additions & 0 deletions
36
libs/cardano-ledger-conformance/cardano-ledger-conformance.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
cabal-version: 3.0 | ||
name: cardano-ledger-conformance | ||
version: 0.1.0.0 | ||
license: Apache-2.0 | ||
maintainer: operations@iohk.io | ||
author: IOHK | ||
bug-reports: https://github.com/input-output-hk/cardano-ledger/issues | ||
synopsis: Testing utilities for conformance testing | ||
description: Testing utilities for conformance testing | ||
build-type: Simple | ||
extra-source-files: CHANGELOG.md | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/input-output-hk/cardano-ledger | ||
subdir: libs/cardano-ledger-conformance | ||
|
||
flag asserts | ||
description: Enable assertions | ||
default: False | ||
|
||
library | ||
exposed-modules: Test.Cardano.Ledger.Conformance | ||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: | ||
-Wall -Wcompat -Wincomplete-record-updates | ||
-Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields | ||
-Wunused-packages | ||
|
||
build-depends: | ||
base >=4.14 && <4.19, | ||
cardano-ledger-executable-spec | ||
|
||
if flag(asserts) | ||
ghc-options: -fno-ignore-asserts |
10 changes: 10 additions & 0 deletions
10
libs/cardano-ledger-conformance/src/Test/Cardano/Ledger/Conformance.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Test.Cardano.Ledger.Conformance ( | ||
|
||
) where | ||
|
||
import Lib (TxBody) | ||
|
||
-- Placeholder so that the compiler wouldn't complain about | ||
-- `cardano-ledger-executable-spec` being a redundant dependency | ||
_placeholder :: TxBody | ||
_placeholder = undefined |