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 -rtsopts flag to test suite and format .cabal file #855

Merged
merged 1 commit into from
Apr 5, 2019
Merged
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
89 changes: 42 additions & 47 deletions plutus-use-cases/plutus-use-cases.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,61 @@ cabal-version: 2.0
name: plutus-use-cases
version: 0.1.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
build-type: Simple
license-file: LICENSE NOTICE
maintainer: [email protected]
stability: experimental
author: Manuel M T Chakravarty, Jann Müller
synopsis:
Collection of smart contracts to develop the plutus/wallet interface
stability: experimental
synopsis: Collection of smart contracts to develop the plutus/wallet interface
description:
Collection of smart contracts to develop the plutus/wallet interface.
Collection of smart contracts to develop the plutus/wallet interface.
category: Language
build-type: Simple
extra-doc-files: README.md

source-repository head
type: git
location: https://github.com/input-output-hk/plutus
type: git
location: https://github.com/input-output-hk/plutus

library
hs-source-dirs: src
build-depends:
base -any,
bytestring -any,
containers -any,
mtl -any,
template-haskell -any,
plutus-tx -any,
wallet-api -any,
lens -any
default-language: Haskell2010
default-extensions: ExplicitForAll ScopedTypeVariables
DeriveGeneric StandaloneDeriving DeriveLift
GeneralizedNewtypeDeriving DeriveFunctor DeriveFoldable
DeriveTraversable
exposed-modules:
Language.PlutusTx.Coordination.Contracts
Language.PlutusTx.Coordination.Contracts.CrowdFunding
Language.PlutusTx.Coordination.Contracts.Future
Language.PlutusTx.Coordination.Contracts.Game
Language.PlutusTx.Coordination.Contracts.Vesting
Language.PlutusTx.Coordination.Contracts.Swap
ghc-options:
-Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
exposed-modules:
Language.PlutusTx.Coordination.Contracts
Language.PlutusTx.Coordination.Contracts.CrowdFunding
Language.PlutusTx.Coordination.Contracts.Future
Language.PlutusTx.Coordination.Contracts.Game
Language.PlutusTx.Coordination.Contracts.Vesting
Language.PlutusTx.Coordination.Contracts.Swap
hs-source-dirs: src
default-language: Haskell2010
default-extensions: ExplicitForAll ScopedTypeVariables
DeriveGeneric StandaloneDeriving DeriveLift
GeneralizedNewtypeDeriving DeriveFunctor DeriveFoldable
DeriveTraversable
ghc-options: -Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
build-depends:
base -any,
bytestring -any,
containers -any,
mtl -any,
template-haskell -any,
plutus-tx -any,
wallet-api -any,
lens -any

test-suite plutus-use-cases-test
default-language: Haskell2010
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Spec.Crowdfunding
Spec.Future
Spec.Game
Spec.Vesting
Spec.Crowdfunding
Spec.Future
Spec.Game
Spec.Vesting
default-language: Haskell2010
ghc-options: -Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -rtsopts
build-depends:
base >=4.9 && <5,
containers -any,
Expand All @@ -67,10 +66,6 @@ test-suite plutus-use-cases-test
tasty-hedgehog >=0.2.0.0,
text -any,
wallet-api -any,
plutus-use-cases,
plutus-use-cases -any,
plutus-tx -any,
template-haskell -any
ghc-options:
-Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities