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

Add block decoder #28

Merged
merged 4 commits into from
Mar 6, 2019
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
26 changes: 22 additions & 4 deletions cardano-wallet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10

flag development
description: Disable `-Werror`
default: False
manual: True

library
default-language:
Haskell2010
Expand All @@ -21,22 +26,28 @@ library
OverloadedStrings
ghc-options:
-Wall
-Werror
-Wcompat
-fwarn-redundant-constraints

if (!flag(development))
ghc-options: -Werror

build-depends:
base

-- Hackage Dependencies
, bytestring
, cborg
, containers
, deepseq
, text

hs-source-dirs:
src
exposed-modules:
Cardano.Wallet.Primitive
Cardano.Wallet.Binary
, Cardano.Wallet.Binary.Helpers
, Cardano.Wallet.Primitive
other-modules:
Paths_cardano_wallet

Expand Down Expand Up @@ -69,16 +80,21 @@ test-suite unit
ghc-options:
-threaded -rtsopts
-Wall
-Werror
-O2

if (!flag(development))
ghc-options: -Werror

build-depends:
base
, cardano-wallet

, base58-bytestring
, bytestring
, cborg
, containers
, hspec
, memory
, QuickCheck
type:
exitcode-stdio-1.0
Expand All @@ -87,4 +103,6 @@ test-suite unit
main-is:
Main.hs
other-modules:
Cardano.Wallet.PrimitiveSpec
Cardano.Wallet.BinaryHelpers
, Cardano.Wallet.BinarySpec
, Cardano.Wallet.PrimitiveSpec
Loading