diff options
Diffstat (limited to 'ad-dual.cabal')
-rw-r--r-- | ad-dual.cabal | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/ad-dual.cabal b/ad-dual.cabal index 5d3ca39..fe14d31 100644 --- a/ad-dual.cabal +++ b/ad-dual.cabal @@ -5,41 +5,56 @@ license: BSD-3-Clause author: Tom Smeding build-type: Simple +common common + build-depends: base >= 4.14.3 + default-language: Haskell2010 + ghc-options: -Wall + library + import: common exposed-modules: Numeric.ADDual Numeric.ADDual.Internal other-modules: build-depends: - base >= 4.14.3, transformers, vector hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall + +library ad-dual-examples + import: common + exposed-modules: + Numeric.ADDual.Examples + build-depends: + deepseq, + hedgehog, + vector + hs-source-dirs: examples test-suite test + import: common type: exitcode-stdio-1.0 main-is: Main.hs build-depends: - base, ad-dual, + ad-dual-examples, + ad, + hedgehog, tasty, - tasty-hunit + tasty-hedgehog, + tasty-hunit, + vector hs-source-dirs: test - default-language: Haskell2010 - ghc-options: -Wall benchmark bench + import: common type: exitcode-stdio-1.0 main-is: Main.hs build-depends: - base, ad-dual, + ad-dual-examples, ad, criterion, deepseq, vector hs-source-dirs: bench - default-language: Haskell2010 - ghc-options: -Wall |