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

Auto-generate Conway CDDL using Cuddle #4510

Merged
merged 7 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ index-state:
-- Bump this if you need newer packages from Hackage
, hackage.haskell.org 2024-07-23T00:03:37Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2024-07-23T08:58:13Z
, cardano-haskell-packages 2024-07-25T13:19:14Z

packages:
eras/allegra/impl
Expand Down
19 changes: 16 additions & 3 deletions eras/conway/impl/cardano-ledger-conway.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ build-type: Simple
data-files:
test/data/*.json
cddl-files/conway.cddl
cddl-files/crypto.cddl
cddl-files/extra.cddl

extra-source-files: CHANGELOG.md

Expand Down Expand Up @@ -145,7 +143,7 @@ library testlib
bytestring,
cardano-data:{cardano-data, testlib},
containers,
cuddle,
cuddle >=0.3.0.0,
plutus-ledger-api,
deepseq,
microlens,
Expand All @@ -166,6 +164,21 @@ library testlib
text,
small-steps >=1.1

executable huddle-cddl
main-is: Main.hs
hs-source-dirs: huddle-cddl
other-modules: Paths_cardano_ledger_conway
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