Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define CDDL via Huddle in shelley-ma #4557

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
17 changes: 17 additions & 0 deletions eras/allegra/impl/cardano-ledger-allegra.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ library testlib
exposed-modules:
Test.Cardano.Ledger.Allegra.Arbitrary
Test.Cardano.Ledger.Allegra.Binary.Cddl
Test.Cardano.Ledger.Allegra.CDDL
Test.Cardano.Ledger.Allegra.Imp
Test.Cardano.Ledger.Allegra.Imp.UtxowSpec
Test.Cardano.Ledger.Allegra.ImpTest
Expand All @@ -107,13 +108,29 @@ library testlib
cardano-ledger-shelley:{cardano-ledger-shelley, testlib},
cardano-strict-containers,
containers,
cuddle,
generic-random,
microlens,
mtl,
small-steps,
text,
QuickCheck

executable huddle-cddl
main-is: Main.hs
hs-source-dirs: huddle-cddl
other-modules: Paths_cardano_ledger_allegra
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields
-Wunused-packages -threaded -rtsopts -with-rtsopts=-N

build-depends:
base,
testlib,
cardano-ledger-binary:testlib >=1.3.4.0

test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
Expand Down
Loading
Loading